Package com.aspose.threed
Class Property
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.Property
-
- All Implemented Interfaces:
INamedObject
public abstract class Property extends A3DObject
Class to hold user-defined properties.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BindPoint
getBindPoint(AnimationNode anim, boolean create)
Gets the property bind point on specified animation instance.KeyframeSequence
getKeyframeSequence(AnimationNode anim, boolean create)
Gets the keyframe sequence on specified animation instance.abstract java.lang.Object
getValue()
Gets the value.abstract java.lang.Class<?>
getValueType()
Gets the type of the property value.void
setName(java.lang.String value)
Gets the name of the propertyabstract void
setValue(java.lang.Object value)
Sets the value.java.lang.String
toString()
Returns a string that represents the currentProperty
.-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setProperty
-
-
-
-
Method Detail
-
getValue
public abstract java.lang.Object getValue()
Gets the value.
-
setValue
public abstract void setValue(java.lang.Object value)
Sets the value.- Parameters:
value
- New value
-
setName
public void setName(java.lang.String value)
Gets the name of the property
-
getValueType
public abstract java.lang.Class<?> getValueType()
Gets the type of the property value.
-
getBindPoint
public BindPoint getBindPoint(AnimationNode anim, boolean create)
Gets the property bind point on specified animation instance.- Parameters:
anim
- On which animation to create the bind point.create
- Create the property bind point if it's not found.- Returns:
- The property bind point on specified animation instance
-
getKeyframeSequence
public KeyframeSequence getKeyframeSequence(AnimationNode anim, boolean create)
Gets the keyframe sequence on specified animation instance.- Parameters:
anim
- On which animation to create the keyframe sequence.create
- Create the keyframe sequence if it's not found.- Returns:
- The keyframe sequence on specified animation instance
-
-