com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class AnimationChannel

  • java.lang.Object
    • com.aspose.threed.AnimationChannel
  • All Implemented Interfaces:
    java.lang.Iterable<Curve>


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addCurve(Curve curve)
      Adds curve to this channel
      java.lang.Class<?> getComponentType()
      Gets the component field's type
      java.util.List<Curve> getCurves()
      Gets all curves inside this channel
      java.lang.Object getDefaultValue()
      Gets the Default value of the channel.
      java.lang.String getName()
      Gets the name of the channel
      java.util.Iterator<Curve> iterator()
      Gets an enumerator to walk through all curves inside this channel
      void setDefaultValue(java.lang.Object value)
      Sets the Default value of the channel.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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.
      • iterator

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