Table of Contents

Class MBSkeletonExtensions

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public static class MBSkeletonExtensions
Inheritance
MBSkeletonExtensions
Inherited Members

Methods

CreateWithActionSet(ref AnimationSystemData)

public static Skeleton CreateWithActionSet(ref AnimationSystemData animationSystemData)

Parameters

animationSystemData AnimationSystemData

Returns

Skeleton

DoesActionContinueWithCurrentActionAtChannel(Skeleton, int, ActionIndexCache)

public static bool DoesActionContinueWithCurrentActionAtChannel(this Skeleton skeleton, int actionChannelNo, ActionIndexCache actionIndex)

Parameters

skeleton Skeleton
actionChannelNo int
actionIndex ActionIndexCache

Returns

bool

GetActionAtChannel(Skeleton, int)

public static ActionIndexCache GetActionAtChannel(this Skeleton skeleton, int channelNo)

Parameters

skeleton Skeleton
channelNo int

Returns

ActionIndexCache

GetBoneEntitialFrame(Skeleton, sbyte, bool)

public static MatrixFrame GetBoneEntitialFrame(this Skeleton skeleton, sbyte boneNumber, bool forceToUpdate = false)

Parameters

skeleton Skeleton
boneNumber sbyte
forceToUpdate bool

Returns

MatrixFrame

GetBoneEntitialFrameAtAnimationProgress(Skeleton, sbyte, int, float)

public static MatrixFrame GetBoneEntitialFrameAtAnimationProgress(this Skeleton skeleton, sbyte boneIndex, int animationIndex, float progress)

Parameters

skeleton Skeleton
boneIndex sbyte
animationIndex int
progress float

Returns

MatrixFrame

GetSkeletonFaceAnimationName(Skeleton)

public static string GetSkeletonFaceAnimationName(Skeleton skeleton)

Parameters

skeleton Skeleton

Returns

string

GetSkeletonFaceAnimationTime(Skeleton)

public static float GetSkeletonFaceAnimationTime(Skeleton skeleton)

Parameters

skeleton Skeleton

Returns

float

SetAgentActionChannel(Skeleton, int, ActionIndexCache, float, float, bool)

public static void SetAgentActionChannel(this Skeleton skeleton, int actionChannelNo, ActionIndexCache actionIndex, float channelParameter = 0, float blendPeriodOverride = -0.2, bool forceFaceMorphRestart = true)

Parameters

skeleton Skeleton
actionChannelNo int
actionIndex ActionIndexCache
channelParameter float
blendPeriodOverride float
forceFaceMorphRestart bool

SetAnimationAtChannel(Skeleton, int, int, float, float, float)

public static void SetAnimationAtChannel(this Skeleton skeleton, int animationIndex, int channelNo, float animationSpeedMultiplier = 1, float blendInPeriod = -1, float startProgress = 0)

Parameters

skeleton Skeleton
animationIndex int
channelNo int
animationSpeedMultiplier float
blendInPeriod float
startProgress float

SetAnimationAtChannel(Skeleton, string, int, float, float, float)

public static void SetAnimationAtChannel(this Skeleton skeleton, string animationName, int channelNo, float animationSpeedMultiplier = 1, float blendInPeriod = -1, float startProgress = 0)

Parameters

skeleton Skeleton
animationName string
channelNo int
animationSpeedMultiplier float
blendInPeriod float
startProgress float

SetFacialAnimation(Skeleton, FacialAnimChannel, string, bool, bool)

public static void SetFacialAnimation(this Skeleton skeleton, Agent.FacialAnimChannel channel, string faceAnimation, bool playSound, bool loop)

Parameters

skeleton Skeleton
channel Agent.FacialAnimChannel
faceAnimation string
playSound bool
loop bool

SetSkeletonFaceAnimationTime(Skeleton, float)

public static void SetSkeletonFaceAnimationTime(Skeleton skeleton, float time)

Parameters

skeleton Skeleton
time float

TickActionChannels(Skeleton)

public static void TickActionChannels(this Skeleton skeleton)

Parameters

skeleton Skeleton

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).