com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class AnimationClip



  • public class AnimationClip
    extends A3DObject
    The Animation clip is a collection of animations. The scene can have one or more animation clips.
    • Constructor Detail

      • AnimationClip

        public AnimationClip()
        Initializes a new instance of the AnimationClip class.
      • AnimationClip

        public AnimationClip(String name)
        Initializes a new instance of the AnimationClip class.
        Parameters:
        name - Name
    • Method Detail

      • getAnimations

        public List<AnimationNode> getAnimations()
        Gets the animations contained inside the clip.
      • getDescription

        public String getDescription()
        Gets the description of this animation clip
      • setDescription

        public void setDescription(String value)
        Sets the description of this animation clip
        Parameters:
        value - New value
      • getStart

        public double getStart()
        Gets the time in seconds of the beginning of the clip.
      • setStart

        public void setStart(double value)
        Sets the time in seconds of the beginning of the clip.
        Parameters:
        value - New value
      • getStop

        public double getStop()
        Gets the time in seconds of the end of the clip.
      • setStop

        public void setStop(double value)
        Sets the time in seconds of the end of the clip.
        Parameters:
        value - New value
      • createAnimationNode

        public AnimationNode createAnimationNode(String nodeName)
        A shorthand function to create and register the animation node on current clip.
        Parameters:
        nodeName - New animation node's name