ITerrainModel65

Objects that implement this interface use an external file that is used 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 IAction65 representing the operation that takes place when the object is clicked in the Project Tree.

Attachment

An IAttachment65 representing the attachment behavior of the model.

BestLOD

The best LOD file based on the viewer position in relation to the object.

ClientData

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

FlipTexture

A Boolean that determines whether the model’s textures are automatically flipped.

ID

The ID of the object. (Inherited from ITerraExplorerObject65)

Message

An IMessageObject65 representing the message object assigned to the object.

ModelFileName

A full path name or a URL to the model that this object should use.

ModelType

Indicates the model type. 

ObjectType

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

Position

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

SaveInFlyFile

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

ScaleFactor

The scale factor for the model.

ScaleX

Determines the length on the X axis of the 3D model.

ScaleY

Determines the length on the Y axis of the 3D model.

ScaleZ

Determines the height (Z value) of the 3D model.

Terrain

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

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility65 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 ITerraExplorerObject65)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject65)

set_ClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject65)