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<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 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
      • getCurves

        @Deprecated
        public java.util.List<KeyframeSequence> getCurves()
        Deprecated. Please use KeyframeSequences
        Gets all curves inside this channel
      • getKeyframeSequences

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

        @Deprecated
        public void addCurve(KeyframeSequence curve)
        Deprecated. Please use AddKeyframeSequence
        Adds curve to this channel
        Parameters:
        curve - The curve to add.
      • 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