ITerrainBuilding66

This interface gives the client access to the building object.

 

 

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 building.

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)

EnableDraw

Gets and sets a Boolean that determines whether changes to the building can be redrawn in the 3D Window.

Geometry

An IGeometry representing geometric properties and behavior of the building.

Height

Gets and sets the height of the building.

ID

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

Message

An IMessageObject66 representing the message object assigned to the building.

ObjectType

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

Position

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

Roof

An IRoofFace66 representing the building’s roof face.

SaveInFlyFile

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

Sides

An IBuildingSides66 representing the sides of the building.

Style

Gets and sets the building type (stretch terrain or polygon).

Terrain

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

TerrainTextureOffsetX

Gets and sets the offset on the x-axis between the physical location of the building and the outline of the roof as it appears in the terrain image

TerrainTextureOffsetY

Gets and sets the offset on the y-axis between the physical location of the building and the outline of the roof as it appears in the terrain image

TimeSpan

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

Tooltip

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

TreeItem

An ITreeItem66 representing details about the representation of the object in the Project Tree.

Visibility

An IVisibility66 representing the visibility of the object 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)