com.aspose.threed

Interfaces

Classes

Enums

Exceptions

Class AnimationChannel

  • All Implemented Interfaces:
    Iterable<Curve>


    public class AnimationChannel
    extends Object
    implements Iterable<Curve>
    A channel maps property's component field to a set of curves
    • Method Detail

      • getComponentType

        public Class<?> getComponentType()
        Gets the component field's type
      • getName

        public String getName()
        Gets the name of the channel
      • getDefaultValue

        public 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(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 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.
      • iterator

        public Iterator<Curve> iterator()
        Gets an enumerator to walk through all curves inside this channel
        Specified by:
        iterator in interface Iterable<Curve>
        Returns:
        Enumerator