public abstract class Property
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Property(A3DObject owner,
java.lang.String name)
Initializes a new instance of the
Property class. |
Modifier and Type | Method and Description |
---|---|
Curve |
getCurve(AnimationNode anim,
boolean create)
Gets the curve on specified animation instance.
|
CurveMapping |
getCurveMapping(AnimationNode anim,
boolean create)
Gets the curve mapping on specified animation instance.
|
java.lang.String |
getName()
Gets the name of the property
|
abstract java.lang.Object |
getValue()
Gets the value.
|
abstract java.lang.Class<?> |
getValueType()
Gets the type of the property value.
|
abstract void |
setValue(java.lang.Object value)
Sets the value.
|
java.lang.String |
toString()
Returns a string that represents the current
Property . |
public abstract java.lang.Object getValue()
public abstract void setValue(java.lang.Object value)
value
- New valuepublic java.lang.String getName()
public abstract java.lang.Class<?> getValueType()
public CurveMapping getCurveMapping(AnimationNode anim, boolean create)
anim
- On which animation to create the curve mapping.create
- Create the curve mapping if it's not found.public Curve getCurve(AnimationNode anim, boolean create)
anim
- On which animation to create the curve.create
- Create the curve if it's not found.