Procedure EntityCreate

Parent Previous Next

Description: Creates an entity in TerrainView™.

Struct:

Field Name

O

Type

Description

ID


string

A CustomID for the entity, must be unique and cannot begin with "VT:".

Name


string

Name of the entity. Will also be displayed in TerrainView™ as POI text (for POIs).

Type


int (i4)

0 = POI / 1 = 3D object

Position


double[3]

Absolute position of the entity.

Orientation


double[3]

Angles for heading, pitch and roll. See the CameraSetAbsolute procedure for details.

Visible


boolean

Whether or not the entity is generally visible.

Group


string

Group name. Will be displayed in TerrainView™.

SymbolID


string

Defines the filename alias. Must be one of the SymbolIDs in the [model-map] section of the “VTNetCom.conf” file.