ITerrainModel80

Objects that implement this interface use an external file to define the model rendered on the terrain. TerraExplorer supports the following formats:

§   COLLADA (DAE), e.g. DAE models created in PhotoMesh or Sketchup

§   OBJ – Wavefront simple data-format for storing 3D model surface geometry, color and texture information.

§   Direct X (X) and its compressed version (XPC)

§   3DS – 3D studio format for exchanging 3D data models

§   OpenFlight (FLT) – Multigen format for exchanging 3D data models and its compressed version (FPC)

§   XPL and XPL2, which provide better performance for the Direct X model (A set of XPL files is created from a single X file where each file contains data for one Level of Detail (LOD) only)

§   GLB – Binary file format representation of 3D mesh models saved in the GL Transmission Format (glTF).

 

 

Properties

 

Action

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

Attachment

An IAttachment80 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. (Inherited from ITerraExplorerObject80)

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 ITerraExplorerObject80)

Message

An IMessageObject80 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 ITerraExplorerObject80)

Position

An IPosition80 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 ITerraExplorerObject80)

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 ITerrainObject80 representing terrain properties including draw order and ground object status.

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility80 representing the visibility of the model at different distances.

 

Methods

 

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)