class
SceneInstanceComponents
Maintains a list of all components associated with a SceneInstance, and their current state (running, inactive, uninitialized).
Public
Methods
SetComponentState
Changes the component state that globally determines which component callbacks are activated.
Only affects components that don't have the ComponentFlag::AlwaysRun flag set.
IsRunning
Checks are the components currently in the Running state.
Update
Called every frame.
Calls update methods on all active components.
FixedUpdate
Called at fixed time internals.
Calls the fixed update method on all active components.
NotifyComponentCreated
Notifies the manager that a new component has just been created.
The manager triggers necessary callbacks.
NotifyComponentActivated
Notifies the manager that a scene object the component belongs to was activated.
The manager triggers necessary callbacks.
NotifyComponentDeactivated
Notifies the manager that a scene object the component belongs to was deactivated.
The manager triggers necessary callbacks.
NotifyComponentDestroyed
Notifies the manager that a component is about to be destroyed.
The manager triggers necessary callbacks.
Protected
Methods
AddToStateList
Adds a component to the specified state list.
Caller is expected to first remove the component from any existing state lists.
RemoveFromStateList
Removes a component from its current scene manager state list (if any).
ProcessStateChanges
Iterates over components that had their state modified and moves them to the appropriate state lists.
staticEncodeComponentId
Encodes an index and a type into a single 32-bit integer.
Top 2 bits represent the type, while the rest represent the index.
staticDecodeComponentId
Decodes an id encoded with encodeComponentId().
staticIsComponentOfType
Checks does the specified component type match the provided RTTI id.