Interface BlendTreeSource
- All Known Implementing Classes:
AbstractTwoPartSource
,BinaryLERPSource
,ClipSource
,ExclusiveClipSource
,FrozenTreeSource
,InclusiveClipSource
,ManagedTransformSource
public interface BlendTreeSource
Represents a node in a blend tree.
-
Method Summary
Modifier and TypeMethodDescriptiongetSourceData
(AnimationManager manager) boolean
isActive
(AnimationManager manager) Check if there are still active clips in the tree.void
resetClips
(AnimationManager manager, double globalStartTime) Reset any clips in this tree.boolean
setTime
(double globalTime, AnimationManager manager) Move any clips or animation information to the given global time.
-
Method Details
-
getSourceData
- Parameters:
manager
- the manager this is being called from.- Returns:
- a map of source information from the blend tree node.
-
setTime
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
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
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
-