IVisibility80
This interface provides control over the visibility of objects or layers at different distances.
|
Properties |
|
|
Gets and sets the maximal distance from the camera above which the object disappears. |
|
|
Gets and sets the minimal distance from the camera below which the object disappears. |
|
|
Gets and sets a Boolean that determines whether the object is displayed in the 3D Window. |
|
|
Gets and sets the maximum distance of object's pivot from camera, in meters, beyond which it will not show through terrain, mesh layers, or objects that are hiding it. |
MaxVisibilityDistance
Gets and sets the maximal distance from the camera above which the object disappears.
JavaScript |
|
MaxVisibilityDistance |
C# |
|
double MaxVisibilityDistance { get; set; } |
C++ |
|
HRESULT MaxVisibilityDistance([out, retval] double* pVal) HRESULT MaxVisibilityDistance([in] double pVal) |
MinVisibilityDistance
Gets and sets the minimal distance from the camera below which the object disappears.
JavaScript |
|
MinVisibilityDistance |
C# |
|
double MinVisibilityDistance { get; set; } |
C++ |
|
HRESULT MinVisibilityDistance([out, retval] double* pVal) HRESULT MinVisibilityDistance([in] double pVal) |
Show
Gets and sets a Boolean that determines whether the object is displayed in the 3D Window.
JavaScript |
|
Show |
C# |
|
bool Show { get; set; } |
C++ |
|
HRESULT Show([out, retval] VARIANT_BOOL* pVal) HRESULT Show([in] VARIANT_BOOL pVal) |
ShowThroughDistance
Determines the maximum distance of object's pivot from camera, in meters, beyond which it will not show through terrain, mesh layers, or objects that are hiding it. Set to -1 to enable show through at any distance when editing the object using e.g., IProjectTree80.EditItemEx. The following objects can show through terrain or objects: polygons, polylines, imagery and text labels, 2D shapes, 3D shapes, and polygon/polyline feature layers.
JavaScript |
|
ShowThroughDistance |
C# |
|
double ShowThroughDistance { get; set; } |
C++ |
|
HRESULT ShowThroughDistance ([out, retval] double* pVal) HRESULT ShowThroughDistance ([in] double pVal) |