ITerrainBuilding80
This interface gives the client access to the building object.
|
Properties |
|
|
An IAction80 representing the operation that takes place when the object is clicked in the Project Tree. |
|
|
An IAttachment80 representing the attachment behavior of the building. |
|
|
Gets and sets a Boolean that determines whether changes to the building can be redrawn in the 3D Window. |
|
|
An IGeometry representing geometric properties and behavior of the building. |
|
|
Gets and sets the height of the building. |
|
|
Gets the ID of the object. (Inherited from ITerraExplorerObject80) |
|
|
An IMessageObject80 representing the message object assigned to the building. |
|
|
Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject80) |
|
|
An IPosition80 representing the position and orientation of the object on the terrain. |
|
|
An IRoofFace80 representing the building’s roof face. |
|
|
Gets and sets a Boolean that determines whether the object is saved in the Fly file. (Inherited from ITerraExplorerObject80) |
|
|
An IBuildingSides80 representing the sides of the building. |
|
|
Gets and sets the building type (stretch terrain or polygon). |
|
|
An ITerrainObject80 representing terrain properties including draw order and ground object status. |
|
|
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 |
|
|
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 |
|
|
An ITimeSpan80 |
|
|
An ITooltip80 |
|
|
An ITreeItem80 representing details about the representation of the object in the Project Tree. |
|
|
An IVisibility80 |
|
|
Methods |
|
|
Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80) |
|
|
GetParam |
Reserved. Currently not used. (Inherited from ITerraExplorerObject80) |
|
Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80) |
|
|
SetParam |
Reserved. Currently not used. (Inherited from ITerraExplorerObject80) |
EnableDraw
Gets and sets a Boolean that determines whether changes to the building can be redrawn in the 3D Window.
JavaScript |
|
|
|
EnableDraw |
C# |
|
|
|
bool EnableDraw { get; set; } |
C++ |
|
|
|
HRESULT EnableDraw([out, retval] VARIANT_BOOL* pVal) HRESULT EnableDraw([in] VARIANT_BOOL pVal) |
Height
Gets and sets the height of the building.
JavaScript |
|
|
|
Height |
C# |
|
|
|
double Height { get; set; } |
C++ |
|
|
|
HRESULT Height([out, retval] double* pVal) HRESULT Height([in] double pVal) |
Style
Gets and sets an enum that determines the building type. The following are the possible values:
§ BS_STRETCH_TERRAIN = 0
The building’s roof has the same texture and coloring as the terrain. The building appears essentially as if the terrain were stretched upwards and outwards in the shape of a building.
§ BS_POLYGONS = 1
The building is created using 3D polygons. Its building faces can be assigned fill color and texture.
JavaScript |
|
|
|
Style |
C# |
|
|
|
BuildingStyleCode Style { get; set; } |
C++ |
|
|
|
HRESULT Style([out, retval] BuildingStyleCode* pVal) HRESULT Style([in] BuildingStyleCode pVal) |
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.
This offset is used to apply terrain texture for the roof and the walls.
Note: Pictures of buildings that are taken from the same angle have the same TerrainTextureOffset to Height ratio.
JavaScript |
|
|
|
TerrainTextureOffsetX |
C# |
|
|
|
double TerrainTextureOffsetX { get; set; } |
C++ |
|
|
|
HRESULT TerrainTextureOffsetX([out, retval] double* pVal) HRESULT TerrainTextureOffsetX([in] double pVal) |
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.
This offset is used to apply terrain texture for the roof and the walls.
Note: Pictures of buildings that are taken from the same angle have the same TerrainTextureOffset to Height ratio.
JavaScript |
|
|
|
TerrainTextureOffsetY |
C# |
|
|
|
double TerrainTextureOffsetY { get; set; } |
C++ |
|
|
|
|
HRESULT TerrainTextureOffsetY([out, retval] double* pVal) HRESULT TerrainTextureOffsetY([in] double pVal) |