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
animationSystemDataAnimationSystemData
Returns
DoesActionContinueWithCurrentActionAtChannel(Skeleton, int, ActionIndexCache)
public static bool DoesActionContinueWithCurrentActionAtChannel(this Skeleton skeleton, int actionChannelNo, ActionIndexCache actionIndex)
Parameters
skeletonSkeletonactionChannelNointactionIndexActionIndexCache
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
skeletonSkeleton
Returns
GetSkeletonFaceAnimationTime(Skeleton)
public static float GetSkeletonFaceAnimationTime(Skeleton skeleton)
Parameters
skeletonSkeleton
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
skeletonSkeletonactionChannelNointactionIndexActionIndexCachechannelParameterfloatblendPeriodOverridefloatforceFaceMorphRestartbool
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
skeletonSkeletonanimationIndexintchannelNointanimationSpeedMultiplierfloatblendInPeriodfloatstartProgressfloat
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
skeletonSkeletonanimationNamestringchannelNointanimationSpeedMultiplierfloatblendInPeriodfloatstartProgressfloat
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
skeletonSkeleton
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).