public abstract class Property extends Object
Modifier | Constructor and Description |
---|---|
protected |
Property(A3DObject owner,
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.
|
String |
getName()
Gets the name of the property
|
abstract Object |
getValue()
Gets the value.
|
abstract Class<?> |
getValueType()
Gets the type of the property value.
|
abstract void |
setValue(Object value)
Sets the value.
|
String |
toString()
Returns a string that represents the current
Property . |
public abstract Object getValue()
public abstract void setValue(Object value)
value
- New valuepublic String getName()
public abstract 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.Copyright © 2018. All rights reserved.