ITerrainModel66

Objects that implement this interface use an external file to define the model rendered on the terrain. Currently, TerraExplorer supports the Collada (DAE) file format, as well as the OpenFlight (FLT) and Direct X (X) file formats and their compressed versions (FPC and XPC).

Supported also are the XPL and XPL2 file formats which provide better performance for the Direct X models. A set of XPL files is created from a single X file where each file contains data for one Level of Detail (LOD) only.  

 

 

Properties

 

Action

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

Attachment

An IAttachment66 representing the attachment behavior of the model.

BestLOD

Gets and sets the best LOD file based on the viewer position in relation to the object.

ClientData

Gets and sets an array of text strings assigned to each object global namespace. C# exposes this property as get_ClientData and set_ClientData. (Inherited from ITerraExplorerObject66)

FlipTexture

Gets and sets a Boolean that determines whether the model’s textures are automatically flipped.

ID

Gets the ID of the object. (Inherited from ITerraExplorerObject66)

Message

An IMessageObject66 representing the message object assigned to the model.

ModelFileName

Gets and sets a full path name or a URL to the model that this object should use.

ModelType

Gets the model type. 

ObjectType

Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject66)

Position

An IPosition66 representing the position and orientation of the model on the terrain.

SaveInFlyFile

Gets and sets a Boolean that determines whether the model is saved in the Fly file. (Inherited from ITerraExplorerObject66)

ScaleFactor

Gets and sets the scale factor for the model.

ScaleX

Gets and sets the value by which to scale the model on its x axis.

ScaleY

Gets and sets the value by which to scale the model on its y axis.

ScaleZ

Gets and sets the height (Z value) of the 3D model.

Terrain

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

Timespan

An ITimeSpan66 representing the timespan in which the model is visible on the terrain.

Tooltip

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

TreeItem

An ITreeItem66 describing the representation of the model in the Project Tree.

Visibility

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

 

Methods

 

get_ClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject66)

set_ClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject66)