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
DoesActionContinueWithCurrentActionAtChannel(Skeleton, int, ActionIndexCache)
public static bool DoesActionContinueWithCurrentActionAtChannel(this Skeleton skeleton, int actionChannelNo, ActionIndexCache actionIndex)
Parameters
skeleton
SkeletonactionChannelNo
intactionIndex
ActionIndexCache
Returns
GetActionAtChannel(Skeleton, int)
public static ActionIndexCache GetActionAtChannel(this Skeleton skeleton, int channelNo)
Parameters
Returns
GetBoneEntitialFrame(Skeleton, sbyte, bool)
public static MatrixFrame GetBoneEntitialFrame(this Skeleton skeleton, sbyte boneNumber, bool forceToUpdate = false)
Parameters
Returns
GetBoneEntitialFrameAtAnimationProgress(Skeleton, sbyte, int, float)
public static MatrixFrame GetBoneEntitialFrameAtAnimationProgress(this Skeleton skeleton, sbyte boneIndex, int animationIndex, float progress)
Parameters
Returns
GetSkeletonFaceAnimationName(Skeleton)
public static string GetSkeletonFaceAnimationName(Skeleton skeleton)
Parameters
skeleton
Skeleton
Returns
GetSkeletonFaceAnimationTime(Skeleton)
public static float GetSkeletonFaceAnimationTime(Skeleton skeleton)
Parameters
skeleton
Skeleton
Returns
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
SkeletonactionChannelNo
intactionIndex
ActionIndexCachechannelParameter
floatblendPeriodOverride
floatforceFaceMorphRestart
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
SkeletonanimationIndex
intchannelNo
intanimationSpeedMultiplier
floatblendInPeriod
floatstartProgress
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
SkeletonanimationName
stringchannelNo
intanimationSpeedMultiplier
floatblendInPeriod
floatstartProgress
float
SetFacialAnimation(Skeleton, FacialAnimChannel, string, bool, bool)
public static void SetFacialAnimation(this Skeleton skeleton, Agent.FacialAnimChannel channel, string faceAnimation, bool playSound, bool loop)
Parameters
SetSkeletonFaceAnimationTime(Skeleton, float)
public static void SetSkeletonFaceAnimationTime(Skeleton skeleton, float time)
Parameters
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).