Class AnimNode
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimNode
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
float
boolean
boolean
float
int
float
float
float
boolean
boolean
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkConditions
(IAnimationVariableSource varSource) findTransitionTo
(IAnimationVariableSource varSource, String targetName) float
int
float
getSpeedScale
(IAnimationVariableSource varSource) boolean
boolean
Returns TRUE if this AnimNode represents an Idle animation.static AnimNode
Loads an AnimNode from the specified source.toString()
-
Field Details
-
m_Name
-
m_Priority
public int m_Priority -
m_AnimName
-
m_DeferredBoneName
-
m_deferredBoneAxis
-
m_useDeferedRotation
public boolean m_useDeferedRotation -
m_Looped
public boolean m_Looped -
m_BlendTime
public float m_BlendTime -
m_BlendOutTime
public float m_BlendOutTime -
m_StopAnimOnExit
public boolean m_StopAnimOnExit -
m_EarlyTransitionOut
public boolean m_EarlyTransitionOut -
m_SpeedScale
-
m_SpeedScaleVariable
-
m_SpeedScaleRandomMultiplierMin
public float m_SpeedScaleRandomMultiplierMin -
m_SpeedScaleRandomMultiplierMax
public float m_SpeedScaleRandomMultiplierMax -
m_randomAdvanceFraction
public float m_randomAdvanceFraction -
m_maxTorsoTwist
public float m_maxTorsoTwist -
m_Scalar
-
m_Scalar2
-
m_AnimReverse
public boolean m_AnimReverse -
m_SyncTrackingEnabled
public boolean m_SyncTrackingEnabled -
m_2DBlends
-
m_Conditions
-
m_Events
-
m_2DBlendTri
-
m_Transitions
-
m_SubStateBoneWeights
-
m_picker
-
m_State
-
-
Constructor Details
-
AnimNode
public AnimNode()
-
-
Method Details
-
Parse
Loads an AnimNode from the specified source. The source can either be a file path, or a File GUID.- Returns:
- The deserialized AnimNode instance, or NULL if failed.
-
checkConditions
-
getSpeedScale
-
isIdleAnim
public boolean isIdleAnim()Returns TRUE if this AnimNode represents an Idle animation. TODO: Make this a flag in the AnimNode, instead of relying on the name -
findTransitionTo
-
toString
-
getConditionsString
-
isAbstract
public boolean isAbstract() -
getBlendOutTime
public float getBlendOutTime() -
getDeferredBoneName
-
getDeferredBoneAxis
-
getPriority
public int getPriority()
-