ScopeTrackerObject
Engine/source/util/scopeTracker.h
Base class for objects registered with a ScopeTracker.
Classes:
TrackingNodes are used to track object bounds along individual world axes.
Implementor Interface
The following methods must be implemented by the client.
They are defined here just for reference. If you don't override them, you'll get link errors.
getPosition(F32 pos)
Return the position of the object in world-space.
getReferenceCenter(F32 pos)
If this object is the reference object, this method should return the world-space pivot point in the object that will be the world reference center.
Public Types
_Anonymous_ { AllInScope = ( 0x01010101 >> ( ( 4 - NUM_DIMENSIONS ) * 8 ) ) }
Parent
Protected Attributes
union ScopeTrackerObject::@217
mTrackingNodes [NUM_DIMENSIONS][2]
Public Functions
ScopeTrackerObject(U32 flags)
getMaxTrackingNode(U32 dimension)
getMaxTrackingNode(U32 dimension)
getMinTrackingNode(U32 dimension)
getMinTrackingNode(U32 dimension)
bool
Return true if the reference center lies within the object bound's on all axes.
bool
Return true if the object is currently being tracked.
setInScope(U32 dimension, bool state)
Detailed Description
Base class for objects registered with a ScopeTracker.
Implementor Interface
The following methods must be implemented by the client.
They are defined here just for reference. If you don't override them, you'll get link errors.
getPosition(F32 pos)
Return the position of the object in world-space.
getReferenceCenter(F32 pos)
If this object is the reference object, this method should return the world-space pivot point in the object that will be the world reference center.
getBounds(F32 minBounds, F32 maxBounds)
Return the object's bounding box in world-space.
describeSelf()
Public Types
@216
Enumerator
- AllInScope = ( 0x01010101 >> ( ( 4 - NUM_DIMENSIONS ) * 8 ) )
typedef void Parent
Public Attributes
U8 mBytes [4]
U32 mDWord
Protected Attributes
union ScopeTrackerObject::@217 mScopeMask
TrackingNode mTrackingNodes [NUM_DIMENSIONS][2]
Public Functions
ScopeTrackerObject(U32 flags)
clearScopeMask()
getMaxTrackingNode(U32 dimension)
getMaxTrackingNode(U32 dimension)
getMinTrackingNode(U32 dimension)
getMinTrackingNode(U32 dimension)
isInScope()
Return true if the reference center lies within the object bound's on all axes.
isInScope(U32 dimension)
isRegistered()
Return true if the object is currently being tracked.
setInScope(U32 dimension, bool state)