Torque3D Documentation / _generateds / ScopeTrackerObject::TrackingNode

ScopeTrackerObject::TrackingNode

Engine/source/util/scopeTracker.h

TrackingNodes are used to track object bounds along individual world axes.

More...

Public Types

enum
EFlags {
  FLAG_Min = BIT( 0 )
  FLAG_Max = BIT( 1 )
  FLAG_Reference = BIT( 2 )
}
Parent 

Public Attributes

Next node on axis tracking chain.

The object being tracked by this node or NULL.

Distance along axis.

Previous node on axis tracking chain.

Public Functions

Return the object to which this tracking node belongs.

bool

Return true if this is the right/upper bound node of an object.

bool

Return true if this is left/lower bound node of an object.

bool

Return true if this is the reference center tracking node.

Detailed Description

TrackingNodes are used to track object bounds along individual world axes.

Public Types

EFlags

Enumerator

FLAG_Min = BIT( 0 )
FLAG_Max = BIT( 1 )
FLAG_Reference = BIT( 2 )
typedef void Parent 

Public Attributes

BitSet32 mFlags 
TrackingNode * mNext 

Next node on axis tracking chain.

ScopeTrackerObject * mObject 

The object being tracked by this node or NULL.

TrackingNode * mOpposite 
F32 mPosition 

Distance along axis.

TrackingNode * mPrev 

Previous node on axis tracking chain.

Public Functions

TrackingNode()

getNext()

getObject()

Return the object to which this tracking node belongs.

getOpposite()

getPosition()

getPrev()

isMax()

Return true if this is the right/upper bound node of an object.

isMin()

Return true if this is left/lower bound node of an object.

isReference()

Return true if this is the reference center tracking node.

There will only ever be one such node on each tracking list.

setNext(TrackingNode * node)

setPosition(F32 value)

setPrev(TrackingNode * node)