Space Engineers
Public Member Functions | List of all members
VRageRender.Animations.MyAnimationController.MyResultBonesPool Class Reference

Simple pool allocator for bone results. More...

Public Member Functions

void Reset (MyCharacterBone[] restPoseBones)
 Set the new bone count and default (rest) pose. More...
 
void SetDefaultPose (List< MyAnimationClip.BoneState > linkToDefaultPose)
 Set the link to default pose = default bone positions and rotations given when using this allocator. If null is given, rest pose is used. More...
 
bool IsValid ()
 
void FreeAll ()
 
List< MyAnimationClip.BoneStateAlloc ()
 Allocate array of bones from pool. Bones are in the rest (bind) position by default. More...
 
void Free (List< MyAnimationClip.BoneState > toBeFreed)
 

Detailed Description

Simple pool allocator for bone results.

Definition at line 21 of file MyAnimationController.cs.

Member Function Documentation

List<MyAnimationClip.BoneState> VRageRender.Animations.MyAnimationController.MyResultBonesPool.Alloc ( )
inline

Allocate array of bones from pool. Bones are in the rest (bind) position by default.

Returns

Definition at line 83 of file MyAnimationController.cs.

void VRageRender.Animations.MyAnimationController.MyResultBonesPool.Free ( List< MyAnimationClip.BoneState toBeFreed)
inline

Definition at line 118 of file MyAnimationController.cs.

void VRageRender.Animations.MyAnimationController.MyResultBonesPool.FreeAll ( )
inline

Definition at line 71 of file MyAnimationController.cs.

bool VRageRender.Animations.MyAnimationController.MyResultBonesPool.IsValid ( )
inline

Definition at line 66 of file MyAnimationController.cs.

void VRageRender.Animations.MyAnimationController.MyResultBonesPool.Reset ( MyCharacterBone[]  restPoseBones)
inline

Set the new bone count and default (rest) pose.

Definition at line 32 of file MyAnimationController.cs.

void VRageRender.Animations.MyAnimationController.MyResultBonesPool.SetDefaultPose ( List< MyAnimationClip.BoneState linkToDefaultPose)
inline

Set the link to default pose = default bone positions and rotations given when using this allocator. If null is given, rest pose is used.

Definition at line 61 of file MyAnimationController.cs.


The documentation for this class was generated from the following file: