Home > All Other Interfaces > ITerrainDynamicObject

ITerrainDynamicObject6

The ITerrainDynamicObject6 interface gives the client access to the TerraExplorer dynamic object. Using this object, the client can create a pre-defined set of waypoints that the object will then follow (within the given parameters).

 

 

Properties

 

Acceleration

The acceleration, in meter per second² of the object.

Action

An IAction6 representing the operation that takes place when the object is clicked in the Project Tree.

AltitudeType

An enum determining how the waypoint heights are interpreted.

Attachment

An IAttachment6 representing the attachment behavior of the object.

BackgroundColor

An IColor6 representing the background color.

CircularRoute

Determines if the object automatically, immediately restarts the route.

ClientData

A text string assigned to each object global namespace. C# exposes this property as get_ClientData and set_ClientData. (Inherited from ITerraExplorerObject6)

DynamicType

An enum that determines the object type.

FileName

A full path name or a URL to a model or an image file that this object should use.

FlipTexture

Determines whether the model’s textures are automatically flipped.

FontName

The name of the font. (valid only for DYNAMIC_TEXT_LABEL type)

FontSize

The size of the text, from 8 to 72 points. (valid only for DYNAMIC_TEXT_LABEL type)

FontStyle

The font style of the text. (valid only for DYNAMIC_TEXT_LABEL type)

ID

The ID of the object. (Inherited from ITerraExplorerObject6)

Message

An IMessageObject6 representing the message object triggered when the user double-clicks the object’s Project Tree entry.

MotionStyle

Determines the characteristics of the object’s motion.

ObjectType

An enum that identifies the type of the object. (Inherited from ITerraExplorerObject6)

Position

An IPosition6 representing the position and orientation of the object on the terrain.

SaveInFlyFile

A Boolean that determines whether the object is saved in the Fly file. (Inherited from ITerraExplorerObject6)

ScaleFactor

Determines the dimensions, in meters per pixel, of the object.

Shadow

An IShadow6 representing the object shadow.

Terrain

An ITerrainObject6 representing terrain properties including draw order and ground object status.

Text

The text of the label that follows the dynamic object route. (valid only for DYNAMIC_TEXT_LABEL type)

TextColor

An IColor6 representing the text color.

TimeSpan

An ITimeSpan6 representing the timespan in which the object is visible on the terrain.

Tooltip

An ITooltip6 representing the tooltip that displays when a mouse cursor is placed over the object in the 3D Window.

TreeItem

An ITreeItem6 describing the representation of the object in the Project Tree.

TurnSpeed

The turn speed of the object in degrees per second.

Visibility

An IVisibility6 representing the visibility of the object at different distances, as well as visibility of the object in TerraExplorer Basic Viewer.

Waypoints

An IRouteWaypoints6 representing the dynamic route’s waypoints.

 

Methods

 

get_ClientData

This method is exposed only in C#. To use from C++ or JavaScript use the ClientData property. (Inherited from ITerraExplorerObject6)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject6)

RestartRoute

Resets the object position to the given waypoint index.

set_ClientData

This method is exposed only in C#. To use from C++ or JavaScript use the ClientData property. (Inherited from ITerraExplorerObject6)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject6)