Class AnimationChannel

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addKeyframeSequence​(KeyframeSequence sequence)
      Adds keyframe sequence to this channel
      java.lang.Class<?> getComponentType()
      Gets the component field's type
      java.lang.Object getDefaultValue()
      Gets the Default value of the channel.
      java.util.List<KeyframeSequence> getKeyframeSequences()
      Gets all keyframe sequences inside this channel
      java.lang.String getName()
      Gets the name of the channel
      java.util.Iterator<KeyframeSequence> iterator()
      Gets an enumerator to walk through all keyframe sequences 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 keyframe sequences 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 keyframe sequences 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
      • getKeyframeSequences

        public java.util.List<KeyframeSequence> getKeyframeSequences()
        Gets all keyframe sequences inside this channel
      • addKeyframeSequence

        public void addKeyframeSequence​(KeyframeSequence sequence)
        Adds keyframe sequence to this channel
        Parameters:
        sequence - The keyframe sequence to add.
      • iterator

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