Interface BlendTreeSource

All Known Implementing Classes:
AbstractTwoPartSource, BinaryLERPSource, ClipSource, ExclusiveClipSource, FrozenTreeSource, InclusiveClipSource, ManagedTransformSource

public interface BlendTreeSource
Represents a node in a blend tree.
  • Method Details

    • getSourceData

      Map<String,? extends Object> getSourceData(AnimationManager manager)
      Parameters:
      manager - the manager this is being called from.
      Returns:
      a map of source information from the blend tree node.
    • setTime

      boolean setTime(double globalTime, AnimationManager manager)
      Move any clips or animation information to the given global time.
      Parameters:
      globalTime - our new "global" timeline time.
      manager - the manager this is being called from.
      Returns:
      true if we found at least one active clip in the tree
    • resetClips

      void resetClips(AnimationManager manager, double globalStartTime)
      Reset any clips in this tree. This sets the start time to the given time and sets it active.
      Parameters:
      manager - the manager to use in resetting the clips.
      globalStartTime - the new start time to use.
    • isActive

      boolean isActive(AnimationManager manager)
      Check if there are still active clips in the tree.
      Parameters:
      manager - the manager this is being called from.
      Returns:
      true if we found at least one active clip in the tree