com.aspose.threed

Interfaces

Classes

Enums

Exceptions

Class Property



  • public abstract class Property
    extends Object
    Class to hold user-defined properties.
    • Constructor Detail

      • Property

        protected Property(A3DObject owner,
                           String name)
        Initializes a new instance of the Property class.
        Parameters:
        owner - Owner.
        name - Name.
    • Method Detail

      • getValue

        public abstract Object getValue()
        Gets the value.
      • setValue

        public abstract void setValue(Object value)
        Sets the value.
        Parameters:
        value - New value
      • getExtraData

        @Deprecated
        public String getExtraData()
        Deprecated. 
        Gets the extra data. Some data types like stringlist has a set of enum options, when parsing a FBX file the enum options will be put in this property
      • setExtraData

        @Deprecated
        public void setExtraData(String value)
        Deprecated. 
        Sets the extra data. Some data types like stringlist has a set of enum options, when parsing a FBX file the enum options will be put in this property
        Parameters:
        value - New value
      • getFlags

        @Deprecated
        public int getFlags()
        Deprecated. 
        Gets the property's flags.
      • getName

        public String getName()
        Gets the name of the property
      • getValueType

        public abstract Class<?> getValueType()
        Gets the type of the property value.
      • getCurveMapping

        public CurveMapping getCurveMapping(AnimationNode anim,
                                            boolean create)
        Gets the curve mapping on specified animation instance.
        Parameters:
        anim - On which animation to create the curve mapping.
        create - Create the curve mapping if it's not found.
        Returns:
        The curve mapping on specified animation instance
      • getCurve

        public Curve getCurve(AnimationNode anim,
                              boolean create)
        Gets the curve on specified animation instance.
        Parameters:
        anim - On which animation to create the curve.
        create - Create the curve if it's not found.
        Returns:
        The curve on specified animation instance
      • toString

        public String toString()
        Returns a string that represents the current Property.
        Overrides:
        toString in class Object
        Returns:
        A string that represents the current Property.