Class AnimLayer

java.lang.Object
zombie.util.PooledObject
zombie.core.skinnedmodel.advancedanimation.AnimLayer
All Implemented Interfaces:
IAnimListener, IPooledObject

public final class AnimLayer extends PooledObject implements IAnimListener
  • Method Details

    • alloc

      public static AnimLayer alloc(IAnimatable character, AdvancedAnimator in_parentAnimator)
    • alloc

      public static AnimLayer alloc(AnimLayer parentLayer, IAnimatable character, AdvancedAnimator in_parentAnimator)
    • onReleased

      public void onReleased()
      Specified by:
      onReleased in interface IPooledObject
    • getCurrentStateName

      public String getCurrentStateName()
    • getCurrentStateName

      public static String getCurrentStateName(AnimLayer sender)
    • hasState

      public boolean hasState()
    • isStateless

      public boolean isStateless()
    • isSubLayer

      public boolean isSubLayer()
    • isCurrentState

      public boolean isCurrentState(String stateName)
    • isCurrentState

      public boolean isCurrentState(AnimState in_state)
    • setParentLayer

      public void setParentLayer(AnimLayer in_parentLayer)
    • getParentLayer

      public AnimLayer getParentLayer()
    • getAnimationTrack

      public AnimationMultiTrack getAnimationTrack()
    • getVariableSource

      public IAnimationVariableSource getVariableSource()
    • getCurrentSyncNode

      public LiveAnimNode getCurrentSyncNode()
    • getCurrentSyncTrack

      public AnimationTrack getCurrentSyncTrack()
    • onAnimStarted

      public void onAnimStarted(AnimationTrack track)
      Specified by:
      onAnimStarted in interface IAnimListener
    • onLoopedAnim

      public void onLoopedAnim(AnimationTrack track)
      Specified by:
      onLoopedAnim in interface IAnimListener
    • onNonLoopedAnimFadeOut

      public void onNonLoopedAnimFadeOut(AnimationTrack track)
      Specified by:
      onNonLoopedAnimFadeOut in interface IAnimListener
    • onNonLoopedAnimFinished

      public void onNonLoopedAnimFinished(AnimationTrack track)
      Specified by:
      onNonLoopedAnimFinished in interface IAnimListener
    • onTrackDestroyed

      public void onTrackDestroyed(AnimationTrack track)
      Specified by:
      onTrackDestroyed in interface IAnimListener
    • onNoAnimConditionsPass

      public void onNoAnimConditionsPass()
      Specified by:
      onNoAnimConditionsPass in interface IAnimListener
    • decrementWhileAliveFlags

      public void decrementWhileAliveFlags(LiveAnimNode in_animNode)
    • GetDebugString

      public String GetDebugString()
    • reset

      public void reset()
    • transitionTo

      public boolean transitionTo(AnimState newState)
    • transitionTo

      public boolean transitionTo(AnimState newState, boolean force)
    • transitionTo

      public boolean transitionTo(AnimState newState, AnimLayer sourceLayer)
    • transitionTo

      public boolean transitionTo(AnimState newState, AnimLayer sourceLayer, boolean force)
    • updateLiveAnimNodes

      public void updateLiveAnimNodes()
    • Update

      public void Update(float in_deltaT)
    • getSkinningData

      public SkinningData getSkinningData()
    • getMaximumTwist

      public float getMaximumTwist(IAnimationVariableSlot maxTwistVar)
    • updateNodeActiveFlags

      public void updateNodeActiveFlags()
    • FindTransitioningLiveAnimNode

      public void FindTransitioningLiveAnimNode(TransitionNodeProxy in_liveAnimNodeProxy, boolean in_bIsRootLayer)
    • startTransitionAnimation

      public AnimationTrack startTransitionAnimation(TransitionNodeProxy.TransitionNodeProxyData in_transitionData)
    • removeFadedOutNodes

      public void removeFadedOutNodes()
    • render

      public void render()
    • getDepth

      public int getDepth()
      The layer's depth, how many layer ancestors (parent, grandparent, great-grandparent, etc) does this layer have.
    • getDepth

      public static int getDepth(AnimLayer layer)
    • getDebugNodeName

      public String getDebugNodeName()
    • getLiveAnimNodes

      public List<LiveAnimNode> getLiveAnimNodes()
    • isRecording

      public boolean isRecording()
    • isBlendingIn

      public boolean isBlendingIn()
    • isBlendingOut

      public boolean isBlendingOut()