|
An example scene object which renders a DTS. More...
Public Attributes | |
Rendering | |
filename | shapeFile |
The path to the DTS shape file. | |
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. |
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.
bool RenderShapeExample::isRenderable [static] |
Disables rendering of all instances of this type.
Reimplemented from SceneObject.
bool RenderShapeExample::isSelectable [static] |
Disables selection of all instances of this type.
Reimplemented from SceneObject.
filename RenderShapeExample::shapeFile |
The path to the DTS shape file.