Interface LayerBlender
- All Known Implementing Classes:
LayerLERPBlender
public interface LayerBlender
Describes a class capable of blending together two AnimationLayers in some way.
-
Method Summary
Modifier and TypeMethodDescriptiongetBlendedSourceData
(AnimationManager manager) void
setBlendKey
(String key) void
setLayerA
(AnimationLayer layer) void
setLayerB
(AnimationLayer layer)
-
Method Details
-
setLayerA
- Parameters:
layer
- our first layer
-
setLayerB
- Parameters:
layer
- our second layer
-
setBlendKey
- Parameters:
key
- a String for retrieving the blend weight from the layer manager's values store.
-
getBlendKey
String getBlendKey()- Returns:
- the String for retrieving the blend weight from the layer manager's values store.
-
getBlendedSourceData
- Parameters:
manager
- the manager this is being called from- Returns:
- a key-value map representing the blended data from both animation layers.
-