public abstract class BlendableAction extends Action
Modifier and Type | Field and Description |
---|---|
protected BlendableAction |
collectTransformDelegate |
Constructor and Description |
---|
BlendableAction(Tween... tweens) |
Modifier and Type | Method and Description |
---|---|
void |
cloneFields(Cloner cloner,
java.lang.Object original)
Callback from
Cloner to convert this
shallow-cloned action into a deep-cloned one, using the specified cloner
and original to resolve copied fields. |
abstract void |
collectTransform(HasLocalTransform target,
Transform t,
float weight,
BlendableAction source) |
protected abstract void |
doInterpolate(double t) |
abstract java.util.Collection<HasLocalTransform> |
getTargets() |
double |
getTransitionLength() |
protected float |
getTransitionWeight() |
float |
getWeight() |
boolean |
interpolate(double t)
Sets the implementation specific interpolation to the
specified 'tween' value as a value in the range from 0 to
getLength().
|
BlendableAction |
jmeClone()
Create a shallow clone for the JME cloner.
|
void |
setCollectTransformDelegate(BlendableAction delegate) |
void |
setTransitionLength(double transitionLength) |
void |
setWeight(float weight) |
protected BlendableAction collectTransformDelegate
public BlendableAction(Tween... tweens)
public void setCollectTransformDelegate(BlendableAction delegate)
public boolean interpolate(double t)
Tween
public float getWeight()
public void setWeight(float weight)
protected abstract void doInterpolate(double t)
public abstract java.util.Collection<HasLocalTransform> getTargets()
public abstract void collectTransform(HasLocalTransform target, Transform t, float weight, BlendableAction source)
public double getTransitionLength()
public void setTransitionLength(double transitionLength)
protected float getTransitionWeight()
public BlendableAction jmeClone()
jmeClone
in interface JmeCloneable
jmeClone
in class Action
public void cloneFields(Cloner cloner, java.lang.Object original)
Cloner
to convert this
shallow-cloned action into a deep-cloned one, using the specified cloner
and original to resolve copied fields.cloneFields
in interface JmeCloneable
cloneFields
in class Action
cloner
- the cloner that's cloning this action (not null)original
- the action from which this action was shallow-cloned
(unused)