The root object controlling mannequin for a character. It is configured using a controller definition (defining the fragmentIDs, scopes, scope contexts, etc). It schedules actions onto scopes and holds the global tagstate. More...
| Public Member Functions | |
| void | Reset () | 
| Completely resets the state of the ActionController.  More... | |
| void | Flush () | 
| Flushes all currently playing and queued actions.  More... | |
| void | SetScopeContext (uint scopeContextId, Entity entity, Character character, AnimationDatabase animationDatabase) | 
| Set the context of a scope of the ActionController.  More... | |
| void | ClearScopeContext (uint scopeContextId, bool flushAnimations=true) | 
| Clears the context of a scope.  More... | |
| bool | IsScopeActive (uint scopeId) | 
| Check if a scope is currently active or not.  More... | |
| uint | GetScopeId (string scopeName) | 
| Returns the ID of the scope with the value of scopeName  as its name.  More... | |
| int | GetFragmentId (uint crc) | 
| Returns the ID of the fragment that corresponds to crc .  More... | |
| int | GetGlobalTagId (uint crc) | 
| Returns the global tag ID that corresponds to crc .  More... | |
| int | GetFragmentTagId (int fragmentId, uint crc) | 
| Returns the ID of the fragment tag that corresponds to fragmentId  and crc .  More... | |
| void | Queue (AnimationContextAction action) | 
| Queue the specified action .  More... | |
| void | Requeue (AnimationContextAction action) | 
| Requeue the specified action ..  More... | |
| void | SetSlaveController (ActionController target, uint targetContext, bool enslave, AnimationDatabase targetDatabase=null) | 
| Set the slave ActionController of this ActionController.  More... | |
| void | Update (float frameTime) | 
| Update the ActionController with the specified frameTime.  More... | |
| void | Pause () | 
| Pause the ActionController.  More... | |
| void | Resume (ResumeFlags resumeFlags=ResumeFlags.Default) | 
| Resume the ActionController.  More... | |
| void | SetFlag (ActionControllerFlags flag, bool enable) | 
| Used to set various options on the ActionController.  More... | |
| void | Release () | 
| Release this ActionController from the managed and unmanaged side.  More... | |
| Properties | |
| int | ScopesCount  [get] | 
| The amount of scopes in this ActionController.  More... | |
| Entity | Entity  [get] | 
| The CryEngine.Entity that this ActionController belongs to.  More... | |
| EntitySystem.EntityId | EntityId  [get] | 
| The ID of the CryEngine.Entity that this ActionController belongs to.  More... | |
| float | TimeScale  [get, set] | 
| The timescale of the ActionController.  More... | |
| AnimationContext | Context  [get] | 
| The AnimationContext of the ActionController.  More... | |
The root object controlling mannequin for a character. It is configured using a controller definition (defining the fragmentIDs, scopes, scope contexts, etc). It schedules actions onto scopes and holds the global tagstate.
| 
 | inline | 
Clears the context of a scope.
| scopeContextId | ID of a scope. | 
| flushAnimations | If set to trueflush animations. | 
| 
 | inline | 
Flushes all currently playing and queued actions.
| 
 | inline | 
Returns the ID of the fragment that corresponds to crc .
| crc | Crc. | 
| 
 | inline | 
Returns the ID of the fragment tag that corresponds to fragmentId and crc .
| fragmentId | Fragment identifier. | 
| crc | Crc. | 
| 
 | inline | 
Returns the global tag ID that corresponds to crc .
| crc | Crc. | 
| 
 | inline | 
Returns the ID of the scope with the value of scopeName as its name.
| scopeName | Scope name. | 
| 
 | inline | 
Check if a scope is currently active or not.
true, if scope the scope is active, false otherwise.| scopeId | Scope ID. | 
| 
 | inline | 
Pause the ActionController.
| 
 | inline | 
Queue the specified action .
| action | Action list. | 
| 
 | inline | 
Release this ActionController from the managed and unmanaged side.
| 
 | inline | 
Requeue the specified action ..
| action | Action list. | 
| 
 | inline | 
Completely resets the state of the ActionController.
| 
 | inline | 
Resume the ActionController.
| resumeFlags | Flags to define the resume behaviour. | 
| 
 | inline | 
Used to set various options on the ActionController.
| flag | The option that needs to be set. Multiple flags can be combined. | 
| enable | If set to trueenables the flag, otherwise the flag is disabled. | 
| 
 | inline | 
Set the context of a scope of the ActionController.
| 
 | inline | 
Set the slave ActionController of this ActionController.
| target | Target slave controller. | 
| targetContext | Target context. | 
| enslave | If set to trueenslave. | 
| targetDatabase | Target database. | 
| 
 | inline | 
Update the ActionController with the specified frameTime.
| frameTime | Frame time. | 
| 
 | get | 
The AnimationContext of the ActionController.
The AnimationContext.
| 
 | get | 
The CryEngine.Entity that this ActionController belongs to.
The entity.
| 
 | get | 
The ID of the CryEngine.Entity that this ActionController belongs to.
The ID of the entity identifier.
| 
 | get | 
The amount of scopes in this ActionController.
The scopes count.
| 
 | get set | 
The timescale of the ActionController.
The time scale.