SFXWorld
SFXWorld tracks an N-dimensional world of SFXObjects.
Classes:
Record for objects that are currently in scope.
Public Types
ScopeTracker< NUM_DIMENSIONS, Object >
Parent
Protected Attributes
A top-down ordering of all objects that are currently in scope.
Protected Functions
_findScope(Object object)
Return the index on the scope stack that is tied to the given object or -1 if the object is not on the stack.
_getSortValue(Object object)
_onScopeIn(Object object)
_onScopeOut(Object object)
Public Functions
Detailed Description
SFXWorld tracks an N-dimensional world of SFXObjects.
This class uses two systems as back-ends: occlusion handling is passed on to the occlusion manager installed on the system and tracking the listener traveling through the ambient spaces is
Public Types
typedef ScopeTracker< NUM_DIMENSIONS, Object > Parent
Protected Attributes
Vector< Scope > mScopeStack
A top-down ordering of all objects that are currently in scope.
Protected Functions
_findScope(Object object)
Return the index on the scope stack that is tied to the given object or -1 if the object is not on the stack.
_getSortValue(Object object)
_onScopeIn(Object object)
Reimplemented from: ScopeTracker
_onScopeOut(Object object)
Reimplemented from: ScopeTracker
_sortScopes()
Public Functions
SFXWorld()
notifyChanged(Object object)
update()
Update the state of the SFX world.
note:This method may potentially be costly; don't update every frame.