Class BaseAction

java.lang.Object
com.jme3.anim.tween.action.Action
com.jme3.anim.tween.action.BaseAction
All Implemented Interfaces:
Tween, JmeCloneable, Cloneable

public class BaseAction extends Action
  • Constructor Details

    • BaseAction

      public BaseAction(Tween tween)
  • Method Details

    • isMaskPropagationEnabled

      public boolean isMaskPropagationEnabled()
      Returns:
      true if mask propagation to child actions is enabled else returns false
    • setMaskPropagationEnabled

      public void setMaskPropagationEnabled(boolean maskPropagationEnabled)
      Parameters:
      maskPropagationEnabled - If true, then mask set by AnimLayer will be forwarded to all child actions (Default=true)
    • setMask

      public void setMask(AnimationMask mask)
      Overrides:
      setMask in class Action
    • interpolate

      public boolean interpolate(double t)
      Description copied from interface: Tween
      Sets the implementation specific interpolation to the specified 'tween' value as a value in the range from 0 to getLength(). If the value is greater or equal to getLength() then it is internally clamped and the method returns false. If 't' is still in the tween's range then this method returns true.
      Parameters:
      t - animation time (in de-scaled seconds)
      Returns:
      true if t>length(), otherwise false