ITerrainSphere80
This interface gives the client access to the sphere object.
|
Properties |
|
|
An IAction80 representing the operation that takes place when the object is clicked in the Project Tree. |
|
|
An IAttachment80 representing the attachment behavior of the sphere. |
|
|
An IFillStyle80 representing the fill color and texture of the sphere. |
|
|
Gets the ID of the sphere. (Inherited from ITerraExplorerObject80) |
|
|
An ILineStyle80 representing the style of the sphere outline. |
|
|
An IMessageObject80 representing the message object assigned to the sphere object. |
|
|
Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject80) |
|
|
An IPosition80 representing the position and orientation of the sphere on the terrain. |
|
|
Gets and sets the radius of the sphere, in the units set by ISGWorld.SetOptionParam. |
|
|
Gets and sets a Boolean that determines whether the sphere is saved in the Fly file. (Inherited from ITerraExplorerObject80) |
|
|
Gets and sets the density of the sphere’s mesh. |
|
|
Gets and sets which part of the sphere is visible. |
|
|
An ITerrainObject80 representing terrain properties including draw order and ground object status. |
|
|
An ITimeSpan80 |
|
|
An ITooltip80 |
|
|
An ITreeItem80 describing the representation of the sphere in the Project Tree. |
|
|
An IVisibility80 |
|
|
Methods |
|
|
Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80) |
|
|
GetParam |
Reserved. Currently not used. (Inherited from ITerraExplorerObject80) |
|
Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80) |
|
|
SetParam |
Reserved. Currently not used. (Inherited from ITerraExplorerObject80) |
Radius
Gets and sets the radius of the sphere, in the units set by ISGWorld.SetOptionParam.
JavaScript |
|
|
|
Radius |
C# |
|
|
|
double Radius { get; set; } |
C++ |
|
|
|
HRESULT Radius([out, retval] double* pVal) HRESULT Radius([in] double pVal) |
SegmentDensity
Gets and sets the density of the sphere’s mesh. The density can be any number between 1 and 10, with 4 being the default. The higher this number is the denser the mesh. A sphere with higher density has a higher visual quality but is more expensive to render.
JavaScript |
|
|
|
SegmentDensity |
C# |
|
|
|
int SegmentDensity { get; set; } |
C++ |
|
|
|
HRESULT SegmentDensity([out, retval] long* pVal) HRESULT SegmentDensity([in] long pVal) |
Style
Gets and sets which part of the sphere is visible. The Style can have any of the following values:
§ SPHERE_NORMAL = 0
The entire sphere is visible.
§ SPHERE_UPPER_HALF = 1
The top half is visible.
§ SPHERE_LOWER_HALF = 2
The lower half is visible.
§ SPHERE_ UPPER_HALF_BASE = 3
The upper half, with a base, is visible.
§ SPHERE_LOWER_HALF_BASE = 4
The lower half, with a base, is visible.
JavaScript |
|
|
|
Style |
C# |
|
|
|
int Style { get; set; } |
C++ |
|
|
|
|
HRESULT Style([out, retval] long* pVal) HRESULT Style([in] long pVal) |