Torque3D Documentation / _generateds / RenderShapeExample

RenderShapeExample

consoledoc.h

An example scene object which renders a DTS.

More...

Rendering

filename

The path to the DTS shape file.

Public Static Attributes

bool

Disables rendering of all instances of this type.

bool

Disables selection of all instances of this type.

Detailed Description

An example scene object which renders a DTS.

This class implements a basic SceneObject that can exist in the world at a 3D position and render itself. There are several valid ways to render an object in Torque. This class makes use of the 'TS' (three space) shape system. TS manages loading the various mesh formats supported by Torque as well was rendering those meshes (including LOD and animation...though this example doesn't include any animation over time).

See the C++ code for implementation details.

Rendering

filename shapeFile 

The path to the DTS shape file.

Public Static Attributes

bool isRenderable 

Disables rendering of all instances of this type.

bool isSelectable 

Disables selection of all instances of this type.