Torque 3D - Script Manual: RenderShapeExample Class Reference

TorqueScript

Main   Class List   Namespace List   Online

RenderShapeExample Class Reference
[Examples]

An example scene object which renders a DTS. More...

Inheritance diagram for RenderShapeExample:

List of all members.

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.

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.


Member Data Documentation

The path to the DTS shape file.



Copyright © GarageGames, LLC. All Rights Reserved.