com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class AnimationNode



  • public class AnimationNode
    extends A3DObject
    Aspose.3D's supports animation hierarchy, each animation can be composed by several animations and animation's key-frame definition. AnimationNode defines the transformation of a property value over time, for example, animation node can be used to control a node's transformation or other A3DObject object's numerical properties.
    • Constructor Detail

      • AnimationNode

        public AnimationNode(java.lang.String name)
        Initializes a new instance of the AnimationNode class.
        Parameters:
        name - Name
      • AnimationNode

        public AnimationNode()
        Initializes a new instance of the AnimationNode class.
    • Method Detail

      • getCurveMappings

        @Deprecated
        public java.util.List<BindPoint> getCurveMappings()
        Deprecated. Please use BindPoints
        Gets the current curve mappings.
      • getBindPoints

        public java.util.List<BindPoint> getBindPoints()
        Gets the current property bind points
      • getSubAnimations

        public java.util.List<AnimationNode> getSubAnimations()
        Gets the sub-animation nodes under current animations
      • findCurveMapping

        @Deprecated
        public BindPoint findCurveMapping(java.lang.String name)
        Deprecated. Please use FindBindPoint
        Finds the curve mapping by name.
        Parameters:
        name - Name.
        Returns:
        The curve mapping.
      • findBindPoint

        public BindPoint findBindPoint(java.lang.String name)
        Finds the bind point by name.
        Parameters:
        name - Bind point's name to find.
        Returns:
        The bind point.
      • getCurveMapping

        @Deprecated
        public BindPoint getCurveMapping(A3DObject target,
                                                     java.lang.String propName,
                                                     boolean create)
        Deprecated. Please use GetBindPoint
        Gets the animation curve mapping on given property.
        Parameters:
        target - On which object to create the curve mapping.
        propName - The property's name.
        create - If set to true create the curve mapping if it's not existing.
        Returns:
        The curve mapping.
      • getBindPoint

        public BindPoint getBindPoint(A3DObject target,
                                      java.lang.String propName,
                                      boolean create)
        Gets the animation bind point on given property.
        Parameters:
        target - On which object to create the bind point.
        propName - The property's name.
        create - If set to true create the bind point if it's not existing.
        Returns:
        The bind point.
      • getCurve

        @Deprecated
        public KeyframeSequence getCurve(A3DObject target,
                                                     java.lang.String propName,
                                                     java.lang.String channelName,
                                                     boolean create)
        Deprecated. Please use GetKeyframeSequence
        Gets the animation curve on given property and channel.
        Parameters:
        target - On which instance to create the animation curve.
        propName - The property's name.
        channelName - The channel name.
        create - If set to true create the curve if it's not existing.
        Returns:
        The curve.
      • getKeyframeSequence

        public KeyframeSequence getKeyframeSequence(A3DObject target,
                                                    java.lang.String propName,
                                                    java.lang.String channelName,
                                                    boolean create)
        Gets the keyframe sequence on given property and channel.
        Parameters:
        target - On which instance to create the keyframe sequence.
        propName - The property's name.
        channelName - The channel name.
        create - If set to true create the animation sequence if it's not existing.
        Returns:
        The keyframe sequence.
      • getCurve

        @Deprecated
        public KeyframeSequence getCurve(A3DObject target,
                                                     java.lang.String propName,
                                                     boolean create)
        Deprecated. Please use GetKeyframeSequence
        Gets the animation curve on given property.
        Parameters:
        target - On which instance to create the animation curve.
        propName - The property's name.
        create - If set to true, create the curve if it's not existing.
        Returns:
        The curve.
      • getKeyframeSequence

        public KeyframeSequence getKeyframeSequence(A3DObject target,
                                                    java.lang.String propName,
                                                    boolean create)
        Gets the keyframe sequence on given property.
        Parameters:
        target - On which instance to create the keyframe sequence.
        propName - The property's name.
        create - If set to true, create the sequence if it's not existing.
        Returns:
        The keyframe sequence.
      • createCurveMapping

        @Deprecated
        public BindPoint createCurveMapping(A3DObject obj,
                                                        java.lang.String propName)
        Deprecated. Please use CreateBindPoint
        Creates a BindPoint based on the property data type.
        Parameters:
        obj - Object.
        propName - Property name.
        Returns:
        The curve mapping instance or null if the property is not defined.
      • createBindPoint

        public BindPoint createBindPoint(A3DObject obj,
                                         java.lang.String propName)
        Creates a BindPoint based on the property data type.
        Parameters:
        obj - Object.
        propName - Property name.
        Returns:
        The bind point instance or null if the property is not defined.