Space Engineers
|
Animation controller contains and drives skeletal animations. It also serves as an abstraction layer, hiding low/level classes. More...
Classes | |
class | MyResultBonesPool |
Simple pool allocator for bone results. More... | |
Public Member Functions | |
MyAnimationController () | |
MyAnimationStateMachine | GetLayerByName (string layerName) |
MyAnimationStateMachine | GetLayerByIndex (int index) |
MyAnimationStateMachine | CreateLayer (string name, int insertionIndex=-1) |
Create animation layer with unique name. Parameter insertionIndex can be left -1 to add the layer at the end. If layer with same name is already present, method fails and returns null. More... | |
void | DeleteAllLayers () |
int | GetLayerCount () |
void | Update (ref MyAnimationUpdateData animationUpdateData) |
Update this animation controller. More... | |
void | TriggerAction (MyStringId actionName) |
Trigger an action in all layers. If there is a transition having given (non-null) name, it is followed immediatelly. Conditions of transition are ignored. More... | |
void | UpdateInverseKinematics (ref MyCharacterBone[] characterBonesStorage) |
Perform inverse kinematics. More... | |
Public Attributes | |
readonly MyResultBonesPool | ResultBonesPool |
readonly MyAnimationInverseKinematics | InverseKinematics |
Properties | |
int | FrameCounter [get] |
MyAnimationVariableStorage | Variables [get] |
Animation controller contains and drives skeletal animations. It also serves as an abstraction layer, hiding low/level classes.
Definition at line 16 of file MyAnimationController.cs.
|
inline |
Definition at line 157 of file MyAnimationController.cs.
|
inline |
Create animation layer with unique name. Parameter insertionIndex can be left -1 to add the layer at the end. If layer with same name is already present, method fails and returns null.
Definition at line 206 of file MyAnimationController.cs.
|
inline |
Definition at line 231 of file MyAnimationController.cs.
|
inline |
Definition at line 194 of file MyAnimationController.cs.
|
inline |
Definition at line 180 of file MyAnimationController.cs.
|
inline |
Definition at line 238 of file MyAnimationController.cs.
|
inline |
Trigger an action in all layers. If there is a transition having given (non-null) name, it is followed immediatelly. Conditions of transition are ignored.
Definition at line 335 of file MyAnimationController.cs.
|
inline |
Update this animation controller.
animationUpdateData | See commentary in MyAnimationUpdateData |
Definition at line 247 of file MyAnimationController.cs.
|
inline |
Perform inverse kinematics.
Definition at line 344 of file MyAnimationController.cs.
readonly MyAnimationInverseKinematics VRageRender.Animations.MyAnimationController.InverseKinematics |
Definition at line 147 of file MyAnimationController.cs.
readonly MyResultBonesPool VRageRender.Animations.MyAnimationController.ResultBonesPool |
Definition at line 145 of file MyAnimationController.cs.
|
get |
Definition at line 149 of file MyAnimationController.cs.
|
get |
Definition at line 173 of file MyAnimationController.cs.