M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits NativeObject.
Public Member Functions | |
string | GetName () |
string | GetBoneName (sbyte boneIndex) |
sbyte | GetBoneChildAtIndex (sbyte boneIndex, sbyte childIndex) |
sbyte | GetBoneChildCount (sbyte boneIndex) |
sbyte | GetParentBoneIndex (sbyte boneIndex) |
void | AddMeshToBone (UIntPtr mesh, sbyte boneIndex) |
void | Freeze (bool p) |
bool | IsFrozen () |
void | SetBoneLocalFrame (sbyte boneIndex, MatrixFrame localFrame) |
sbyte | GetBoneCount () |
void | GetBoneBody (sbyte boneIndex, ref CapsuleData data) |
void | ForceUpdateBoneFrames () |
MatrixFrame | GetBoneEntitialFrameWithIndex (sbyte boneIndex) |
MatrixFrame | GetBoneEntitialFrameWithName (string boneName) |
RagdollState | GetCurrentRagdollState () |
void | ActivateRagdoll () |
sbyte | GetSkeletonBoneMapping (sbyte boneIndex) |
void | AddMesh (Mesh mesh) |
void | ClearComponents () |
void | AddComponent (GameEntityComponent component) |
bool | HasComponent (GameEntityComponent component) |
void | RemoveComponent (GameEntityComponent component) |
void | ClearMeshes (bool clearBoneComponents=true) |
int | GetComponentCount (GameEntity.ComponentType componentType) |
void | UpdateEntitialFramesFromLocalFrames () |
void | ResetFrames () |
GameEntityComponent | GetComponentAtIndex (GameEntity.ComponentType componentType, int index) |
void | SetUsePreciseBoundingVolume (bool value) |
MatrixFrame | GetBoneEntitialRestFrame (sbyte boneIndex, bool useBoneMapping) |
MatrixFrame | GetBoneLocalRestFrame (sbyte boneIndex, bool useBoneMapping=true) |
MatrixFrame | GetBoneEntitialRestFrame (sbyte boneIndex) |
MatrixFrame | GetBoneEntitialFrameAtChannel (int channelNo, sbyte boneIndex) |
MatrixFrame | GetBoneEntitialFrame (sbyte boneIndex) |
int | GetBoneComponentCount (sbyte boneIndex) |
GameEntityComponent | GetBoneComponentAtIndex (sbyte boneIndex, int componentIndex) |
bool | HasBoneComponent (sbyte boneIndex, GameEntityComponent component) |
void | AddComponentToBone (sbyte boneIndex, GameEntityComponent component) |
void | RemoveBoneComponent (sbyte boneIndex, GameEntityComponent component) |
void | ClearMeshesAtBone (sbyte boneIndex) |
void | TickAnimations (float dt, MatrixFrame globalFrame, bool tickAnimsForChildren) |
void | TickAnimationsAndForceUpdate (float dt, MatrixFrame globalFrame, bool tickAnimsForChildren) |
float | GetAnimationParameterAtChannel (int channelNo) |
void | SetAnimationParameterAtChannel (int channelNo, float parameter) |
float | GetAnimationSpeedAtChannel (int channelNo) |
void | SetAnimationSpeedAtChannel (int channelNo, float speed) |
void | SetUptoDate (bool value) |
string | GetAnimationAtChannel (int channelNo) |
int | GetAnimationIndexAtChannel (int channelNo) |
void | ResetCloths () |
IEnumerable< Mesh > | GetAllMeshes () |
Static Public Member Functions | |
static Skeleton | CreateFromModel (string modelName) |
static Skeleton | CreateFromModelWithNullAnimTree (GameEntity entity, string modelName, float boneScale=1.0f) |
static bool | SkeletonModelExist (string skeletonModelName) |
static sbyte | GetBoneIndexFromName (string skeletonModelName, string boneName) |
Static Public Attributes | |
const sbyte | MaxBoneCount = 64 |
Properties | |
bool | IsValid [get] |
|
static |
|
static |
string TaleWorlds.Engine.Skeleton.GetName | ( | ) |
string TaleWorlds.Engine.Skeleton.GetBoneName | ( | sbyte | boneIndex | ) |
sbyte TaleWorlds.Engine.Skeleton.GetBoneChildAtIndex | ( | sbyte | boneIndex, |
sbyte | childIndex | ||
) |
sbyte TaleWorlds.Engine.Skeleton.GetBoneChildCount | ( | sbyte | boneIndex | ) |
sbyte TaleWorlds.Engine.Skeleton.GetParentBoneIndex | ( | sbyte | boneIndex | ) |
void TaleWorlds.Engine.Skeleton.AddMeshToBone | ( | UIntPtr | mesh, |
sbyte | boneIndex | ||
) |
void TaleWorlds.Engine.Skeleton.Freeze | ( | bool | p | ) |
bool TaleWorlds.Engine.Skeleton.IsFrozen | ( | ) |
void TaleWorlds.Engine.Skeleton.SetBoneLocalFrame | ( | sbyte | boneIndex, |
MatrixFrame | localFrame | ||
) |
sbyte TaleWorlds.Engine.Skeleton.GetBoneCount | ( | ) |
void TaleWorlds.Engine.Skeleton.GetBoneBody | ( | sbyte | boneIndex, |
ref CapsuleData | data | ||
) |
|
static |
void TaleWorlds.Engine.Skeleton.ForceUpdateBoneFrames | ( | ) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneEntitialFrameWithIndex | ( | sbyte | boneIndex | ) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneEntitialFrameWithName | ( | string | boneName | ) |
RagdollState TaleWorlds.Engine.Skeleton.GetCurrentRagdollState | ( | ) |
void TaleWorlds.Engine.Skeleton.ActivateRagdoll | ( | ) |
sbyte TaleWorlds.Engine.Skeleton.GetSkeletonBoneMapping | ( | sbyte | boneIndex | ) |
void TaleWorlds.Engine.Skeleton.AddMesh | ( | Mesh | mesh | ) |
void TaleWorlds.Engine.Skeleton.ClearComponents | ( | ) |
void TaleWorlds.Engine.Skeleton.AddComponent | ( | GameEntityComponent | component | ) |
bool TaleWorlds.Engine.Skeleton.HasComponent | ( | GameEntityComponent | component | ) |
void TaleWorlds.Engine.Skeleton.RemoveComponent | ( | GameEntityComponent | component | ) |
void TaleWorlds.Engine.Skeleton.ClearMeshes | ( | bool | clearBoneComponents = true | ) |
int TaleWorlds.Engine.Skeleton.GetComponentCount | ( | GameEntity::ComponentType | componentType | ) |
void TaleWorlds.Engine.Skeleton.UpdateEntitialFramesFromLocalFrames | ( | ) |
void TaleWorlds.Engine.Skeleton.ResetFrames | ( | ) |
GameEntityComponent TaleWorlds.Engine.Skeleton.GetComponentAtIndex | ( | GameEntity::ComponentType | componentType, |
int | index | ||
) |
void TaleWorlds.Engine.Skeleton.SetUsePreciseBoundingVolume | ( | bool | value | ) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneEntitialRestFrame | ( | sbyte | boneIndex, |
bool | useBoneMapping | ||
) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneLocalRestFrame | ( | sbyte | boneIndex, |
bool | useBoneMapping = true |
||
) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneEntitialRestFrame | ( | sbyte | boneIndex | ) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneEntitialFrameAtChannel | ( | int | channelNo, |
sbyte | boneIndex | ||
) |
MatrixFrame TaleWorlds.Engine.Skeleton.GetBoneEntitialFrame | ( | sbyte | boneIndex | ) |
int TaleWorlds.Engine.Skeleton.GetBoneComponentCount | ( | sbyte | boneIndex | ) |
GameEntityComponent TaleWorlds.Engine.Skeleton.GetBoneComponentAtIndex | ( | sbyte | boneIndex, |
int | componentIndex | ||
) |
bool TaleWorlds.Engine.Skeleton.HasBoneComponent | ( | sbyte | boneIndex, |
GameEntityComponent | component | ||
) |
void TaleWorlds.Engine.Skeleton.AddComponentToBone | ( | sbyte | boneIndex, |
GameEntityComponent | component | ||
) |
void TaleWorlds.Engine.Skeleton.RemoveBoneComponent | ( | sbyte | boneIndex, |
GameEntityComponent | component | ||
) |
void TaleWorlds.Engine.Skeleton.ClearMeshesAtBone | ( | sbyte | boneIndex | ) |
void TaleWorlds.Engine.Skeleton.TickAnimations | ( | float | dt, |
MatrixFrame | globalFrame, | ||
bool | tickAnimsForChildren | ||
) |
void TaleWorlds.Engine.Skeleton.TickAnimationsAndForceUpdate | ( | float | dt, |
MatrixFrame | globalFrame, | ||
bool | tickAnimsForChildren | ||
) |
float TaleWorlds.Engine.Skeleton.GetAnimationParameterAtChannel | ( | int | channelNo | ) |
void TaleWorlds.Engine.Skeleton.SetAnimationParameterAtChannel | ( | int | channelNo, |
float | parameter | ||
) |
float TaleWorlds.Engine.Skeleton.GetAnimationSpeedAtChannel | ( | int | channelNo | ) |
void TaleWorlds.Engine.Skeleton.SetAnimationSpeedAtChannel | ( | int | channelNo, |
float | speed | ||
) |
void TaleWorlds.Engine.Skeleton.SetUptoDate | ( | bool | value | ) |
string TaleWorlds.Engine.Skeleton.GetAnimationAtChannel | ( | int | channelNo | ) |
int TaleWorlds.Engine.Skeleton.GetAnimationIndexAtChannel | ( | int | channelNo | ) |
void TaleWorlds.Engine.Skeleton.ResetCloths | ( | ) |
IEnumerable< Mesh > TaleWorlds.Engine.Skeleton.GetAllMeshes | ( | ) |
|
static |
|
static |
|
get |