ITerrainBuilding61

This interface gives the client access to the building object.

 

 

Properties

 

Action

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

Attachment

An IAttachment61 representing the attachment behavior of the building.

ClientData

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

EnableDraw

If set to TRUE, allows changes to the building to be redrawn in the 3D Window.

Geometry

An IGeometry representing geometric properties and behavior of the building.

Height

The height of the building.

ID

The ID of the object. (Inherited from ITerraExplorerObject61)

Message

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

ObjectType

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

Position

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

Roof

An IRoofFace61 representing the building’s roof face.

SaveInFlyFile

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

Shadow

An IShadow61 representing the object shadow.

Sides

An IBuildingSides61 representing the IBuildingSides61 interface.

Style

The building type (stretch terrain or polygon).

Terrain

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

TerrainTextureOffsetX

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

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 ITimeSpan61 representing the timespan in which the object is visible on the terrain.

Tooltip

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

TreeItem

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

Visibility

An IVisibility61 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 ITerraExplorerObject61)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject61)

set_ClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject61)