Class FadeTransitionState

All Implemented Interfaces:
StateOwner
Direct Known Subclasses:
SyncFadeTransitionState

public class FadeTransitionState extends AbstractTwoStateLerpTransition
A transition that blends over a given time from one animation state to another, beginning the target clip from local time 0 at the start of the transition. This is best used with two clips that have similar motions.
  • Constructor Details

    • FadeTransitionState

      public FadeTransitionState(String targetState, double fadeTime, AbstractTwoStateLerpTransition.BlendType type)
      Construct a new FadeTransitionState.
      Parameters:
      targetState - the name of the steady state we want the Animation Layer to be in at the end of the transition.
      fadeTime - the amount of time we should take to do the transition.
      type - the way we should interpolate the weighting during the transition.
  • Method Details