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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloneFields(Cloner cloner, Object original) Callback fromClonerto convert this shallow-cloned action into a deep-cloned one, using the specified cloner and original to resolve copied fields.voidcollectTransform(HasLocalTransform target, Transform t, float weight, BlendableAction source) voiddoInterpolate(double t) Gets the animation clip associated with this action.jmeClone()Create a shallow clone for the JME cloner.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:
doInterpolatein classBlendableAction
-
getAnimClip
Gets the animation clip associated with this action.- Returns:
- The animation clip
-
toString
-
getTargets
- Specified by:
getTargetsin classBlendableAction
-
collectTransform
public void collectTransform(HasLocalTransform target, Transform t, float weight, BlendableAction source) - Specified by:
collectTransformin classBlendableAction
-
jmeClone
Create a shallow clone for the JME cloner.- Specified by:
jmeClonein interfaceJmeCloneable- Overrides:
jmeClonein classBlendableAction- Returns:
- a new action (not null)
-
cloneFields
Callback fromClonerto convert this shallow-cloned action into a deep-cloned one, using the specified cloner and original to resolve copied fields.- Specified by:
cloneFieldsin interfaceJmeCloneable- Overrides:
cloneFieldsin classBlendableAction- Parameters:
cloner- the cloner that's cloning this action (not null)original- the action from which this action was shallow-cloned (unused)
-