Class AnimEvent

java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimEvent
Direct Known Subclasses:
AnimEventFlagWhileAlive, AnimEventSetVariable

public class AnimEvent extends Object
class AnimEvent Used to set a game variable from an animation node. eg. Set a sword's collision box to Active during a swing animation, then Inactive once swing is done. Holds a time, name, and value The time is measured as a fraction of the animation's time. This means that scaling an animation's speed scales the Events as well.
  • Field Details

    • m_EventName

      public String m_EventName
    • m_Time

      public AnimEvent.AnimEventTime m_Time
    • m_TimePc

      public float m_TimePc
    • m_ParameterValue

      public String m_ParameterValue
    • m_parentAnimNode

      public AnimNode m_parentAnimNode
  • Constructor Details

    • AnimEvent

      public AnimEvent()
    • AnimEvent

      public AnimEvent(AnimEvent animEvent1)
  • Method Details