Package com.aspose.threed
Class AnimationChannel
- java.lang.Object
-
- com.aspose.threed.AnimationChannel
-
-
Method Summary
Modifier and Type Method Description void
addCurve(Curve curve)
Adds curve to this channeljava.lang.Class<?>
getComponentType()
Gets the component field's typejava.util.List<Curve>
getCurves()
Gets all curves inside this channeljava.lang.Object
getDefaultValue()
Gets the Default value of the channel.java.lang.String
getName()
Gets the name of the channeljava.util.Iterator<Curve>
iterator()
Gets an enumerator to walk through all curves inside this channelvoid
setDefaultValue(java.lang.Object value)
Sets the Default value of the channel.
-
-
-
Method Detail
-
getComponentType
public java.lang.Class<?> getComponentType()
Gets the component field's type
-
getName
public java.lang.String getName()
Gets the name of the channel
-
getDefaultValue
public java.lang.Object getDefaultValue()
Gets the Default value of the channel. If a channel has no curves connected, the default value will be used during the animation evaluation. A real scenario: Animation only animates a node's x coordinate, the y and z are not changed, then the default value will be used during full translation evaluation.
-
setDefaultValue
public void setDefaultValue(java.lang.Object value)
Sets the Default value of the channel. If a channel has no curves connected, the default value will be used during the animation evaluation. A real scenario: Animation only animates a node's x coordinate, the y and z are not changed, then the default value will be used during full translation evaluation.- Parameters:
value
- New value
-
getCurves
public java.util.List<Curve> getCurves()
Gets all curves inside this channel
-
addCurve
public void addCurve(Curve curve)
Adds curve to this channel- Parameters:
curve
- The curve to add.
-
-