Space Engineers
|
Entity component containing animation controller. More...
Public Member Functions | |
override void | OnAddedToContainer () |
Component was added in the entity component container. More... | |
override void | OnBeforeRemovedFromContainer () |
Component will be removed from entity component container. More... | |
void | MarkAsValid () |
void | MarkAsInvalid () |
void | SetCharacterBones (MyCharacterBone[] characterBones, Matrix[] relativeTransforms, Matrix[] abosoluteTransforms) |
void | Update () |
void | UpdateTransformations () |
void | UpdateInverseKinematics () |
VRageRender.Animations.MyCharacterBone | FindBone (string name, out int index) |
void | TriggerAction (MyStringId actionName) |
Trigger an action in this layer. If there is a transition having given (non-null) name, it is followed immediatelly. Conditions of transition are ignored. This is a shortcut to Controller.TriggerAction. More... | |
void | Clear () |
![]() | |
virtual void | SetContainer (MyComponentContainer container) |
Sets the container of this component. Note that the component is not added to the container here! Therefore, use MyComponentContainer.Add(...) method and it will in turn call this method. Actually, you should seldom have the need to call this method yourself. More... | |
virtual T | GetAs< T > () |
virtual void | OnAddedToScene () |
CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already! More... | |
virtual void | OnRemovedFromScene () |
CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene! More... | |
virtual MyObjectBuilder_ComponentBase | Serialize (bool copy=false) |
virtual void | Deserialize (MyObjectBuilder_ComponentBase builder) |
virtual void | Init (MyComponentDefinitionBase definition) |
virtual bool | IsSerialized () |
Tells the component container serializer whether this component should be saved More... | |
Public Attributes | |
Action | ReloadBonesNeeded |
Properties | |
override string | ComponentTypeDebugString [get] |
Name of the component type for debug purposes (e.g.: "Position") More... | |
VRageRender.Animations.MyAnimationController | Controller [get] |
Get the animation controller instance. More... | |
MyAnimationVariableStorage | Variables [get] |
Get the variable storage of animation controller instance. Shortcut. More... | |
MyCharacterBone[] | CharacterBones [get] |
Get reference to array of character bones and its contents. More... | |
MyAnimationInverseKinematics | InverseKinematics [get] |
Get the instance of inverse kinematics. More... | |
VRageRender.Animations.MyCharacterBone[] | CharacterBonesSorted [get] |
Matrix[] | BoneRelativeTransforms [get] |
Matrix[] | BoneAbsoluteTransforms [get] |
List< MyAnimationClip.BoneState > | LastRawBoneResult [get] |
MyDefinitionId | SourceId [get, set] |
List< MyStringId > | LastFrameActions [get] |
![]() | |
MyEntityComponentContainer | Container [get] |
IMyEntity | Entity [get] |
abstract string | ComponentTypeDebugString [get] |
Name of the base component type for debug purposes (e.g.: "Position") More... | |
![]() | |
MyComponentContainer | ContainerBase [get] |
This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More... | |
Events | |
Action< MyStringId > | ActionTriggered |
![]() | |
static Action< MyEntityComponentBase > | OnAfterAddedToContainer |
Action< MyEntityComponentBase > | BeforeRemovedFromContainer |
Entity component containing animation controller.
Definition at line 13 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 250 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 203 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 72 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 64 of file MyAnimationControllerComponent.cs.
|
inlinevirtual |
Component was added in the entity component container.
Reimplemented from VRage.Game.Components.MyEntityComponentBase.
Definition at line 51 of file MyAnimationControllerComponent.cs.
|
inlinevirtual |
Component will be removed from entity component container.
Reimplemented from VRage.Game.Components.MyEntityComponentBase.
Definition at line 59 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 137 of file MyAnimationControllerComponent.cs.
|
inline |
Trigger an action in this layer. If there is a transition having given (non-null) name, it is followed immediatelly. Conditions of transition are ignored. This is a shortcut to Controller.TriggerAction.
Definition at line 231 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 154 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 196 of file MyAnimationControllerComponent.cs.
|
inline |
Definition at line 188 of file MyAnimationControllerComponent.cs.
Action VRage.Game.Components.MyAnimationControllerComponent.ReloadBonesNeeded |
Definition at line 37 of file MyAnimationControllerComponent.cs.
|
get |
Definition at line 119 of file MyAnimationControllerComponent.cs.
|
get |
Definition at line 117 of file MyAnimationControllerComponent.cs.
|
get |
Get reference to array of character bones and its contents.
Definition at line 102 of file MyAnimationControllerComponent.cs.
|
get |
Definition at line 114 of file MyAnimationControllerComponent.cs.
|
get |
Name of the component type for debug purposes (e.g.: "Position")
Definition at line 46 of file MyAnimationControllerComponent.cs.
|
get |
Get the animation controller instance.
Definition at line 86 of file MyAnimationControllerComponent.cs.
|
get |
Get the instance of inverse kinematics.
Definition at line 110 of file MyAnimationControllerComponent.cs.
|
get |
Definition at line 126 of file MyAnimationControllerComponent.cs.
|
get |
Definition at line 121 of file MyAnimationControllerComponent.cs.
|
getset |
Definition at line 123 of file MyAnimationControllerComponent.cs.
|
get |
Get the variable storage of animation controller instance. Shortcut.
Definition at line 94 of file MyAnimationControllerComponent.cs.
Action<MyStringId> VRage.Game.Components.MyAnimationControllerComponent.ActionTriggered |
Definition at line 39 of file MyAnimationControllerComponent.cs.