Package com.jme3.anim.tween.action
Class ClipAction
java.lang.Object
com.jme3.anim.tween.action.Action
com.jme3.anim.tween.action.BlendableAction
com.jme3.anim.tween.action.ClipAction
- All Implemented Interfaces:
Tween
,JmeCloneable
,Cloneable
-
Field Summary
Fields inherited from class com.jme3.anim.tween.action.BlendableAction
collectTransformDelegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cloneFields
(Cloner cloner, Object original) Callback fromCloner
to convert this shallow-cloned action into a deep-cloned one, using the specified cloner and original to resolve copied fields.void
collectTransform
(HasLocalTransform target, Transform t, float weight, BlendableAction source) void
doInterpolate
(double t) jmeClone()
Create a shallow clone for the JME cloner.void
reset()
toString()
Methods inherited from class com.jme3.anim.tween.action.BlendableAction
getMaxTransitionWeight, getTransitionLength, getTransitionWeight, getWeight, interpolate, setCollectTransformDelegate, setMaxTransitionWeight, setTransitionLength, setWeight
-
Constructor Details
-
ClipAction
-
-
Method Details
-
doInterpolate
public void doInterpolate(double t) - Specified by:
doInterpolate
in classBlendableAction
-
reset
public void reset() -
toString
-
getTargets
- Specified by:
getTargets
in classBlendableAction
-
collectTransform
public void collectTransform(HasLocalTransform target, Transform t, float weight, BlendableAction source) - Specified by:
collectTransform
in classBlendableAction
-
jmeClone
Create a shallow clone for the JME cloner.- Specified by:
jmeClone
in interfaceJmeCloneable
- Overrides:
jmeClone
in classBlendableAction
- Returns:
- a new action (not null)
-
cloneFields
Callback fromCloner
to convert this shallow-cloned action into a deep-cloned one, using the specified cloner and original to resolve copied fields.- Specified by:
cloneFields
in interfaceJmeCloneable
- Overrides:
cloneFields
in classBlendableAction
- Parameters:
cloner
- the cloner that's cloning this action (not null)original
- the action from which this action was shallow-cloned (unused)
-