Torque 3D - Script Manual: MissionMarker Class Reference

TorqueScript

Main   Class List   Namespace List   Online

MissionMarker Class Reference
[Miscellaneous]

This is a base class for all "marker" related objets. It is a 3D representation of a point in the level. More...

Inheritance diagram for MissionMarker:

List of all members.

Static Public Attributes

static bool isRenderable
 Disables rendering of all instances of this type.
static bool isSelectable
 Disables selection of all instances of this type.

Detailed Description

This is a base class for all "marker" related objets. It is a 3D representation of a point in the level.

The main use of a MissionMarker is to represent a point in 3D space with a mesh and basic ShapeBase information. If you simply need to mark a spot in your level, with no overhead from additional fields, this is a useful object.

Example:
new MissionMarker()
{
   dataBlock = "WayPointMarker";
   position = "295.699 -171.817 280.124";
   rotation = "0 0 -1 13.8204";
   scale = "1 1 1";
   isRenderEnabled = "true";
   canSaveDynamicFields = "1";
   enabled = "1";
};
Note:
MissionMarkers will not add themselves to the scene except when in the editor.
See also:
MissionMarkerData
SpawnSphere
WayPoint


Copyright © GarageGames, LLC. All Rights Reserved.