True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

TA::CollisionObjectCachedPolyData Class Reference

#include "TA/Physics/CollisionObjectCachedPolyData.h"

Inheritance diagram for TA::CollisionObjectCachedPolyData:

Inheritance graph

Detailed Description

A list of polygons that an object is close too.

The use of this class is necessary if overriding the function TA::CollisionObjectComplex::CachedLocalPolygons. The list of polygons that are intersecting with a collision region must be created using the function TA::CollisionObjectCachedPolyData::GetNewPolygon.

Reference Counting:
This class is reference counted. After the object is created it will have a reference count of one. AddRef() and Release() can be called to increment and decrement the reference count. If the reference count is zero after a call to Release() the object will be automatically deleted. Reference counted objects should only be created using new.


Public Member Functions

void  Initialise ()
void  Finalise ()
void  Clear ()
Polygon *  GetNewPolygon (int nNumVertices)

Static Public Member Functions

static CollisionObjectCachedPolyData
*TAC_CALL  
CreateNew ()

Data Structures

class  Polygon
 A polygon belonging to a CollisionObjectCachedPolyData object. See TA::CollisionObjectCachedPolyData. More...
class  Vertex
 A polygon vertex of a CollisionObjectCachedPolyData object. See TA::CollisionObjectCachedPolyData::Polygon. More...


© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.