Package com.aspose.threed
Class A3DObject
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- All Implemented Interfaces:
INamedObject
- Direct Known Subclasses:
AnimationNode
,AssetInfo
,BindPoint
,Bone
,CustomObject
,Deformer
,ImageRenderOptions
,KeyframeSequence
,Material
,MorphTargetChannel
,Pose
,PostProcessing
,Property
,SceneObject
,TextureBase
,Transform
public class A3DObject extends java.lang.Object implements INamedObject
The base class of all Aspose.ThreeD objects, all sub classes will support dynamic properties.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
The name of the current object.protected PropertyCollection
properties
The properties of the current object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Property
findProperty(java.lang.String propertyName)
Finds the property.java.lang.String
getName()
Gets the name.PropertyCollection
getProperties()
Gets the collection of all properties.java.lang.Object
getProperty(java.lang.String property)
Get the value of specified propertyboolean
removeProperty(Property property)
Removes a dynamic property.boolean
removeProperty(java.lang.String property)
Remove the specified property identified by namevoid
setName(java.lang.String value)
Sets the name.void
setProperty(java.lang.String property, java.lang.Object value)
Sets the value of specified property
-
-
-
Field Detail
-
name
protected java.lang.String name
The name of the current object.
-
properties
protected PropertyCollection properties
The properties of the current object.
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name.- Specified by:
getName
in interfaceINamedObject
-
setName
public void setName(java.lang.String value)
Sets the name.- Parameters:
value
- New value
-
removeProperty
public boolean removeProperty(Property property)
Removes a dynamic property.- Parameters:
property
- Which property to remove- Returns:
- true if the property is successfully removed
-
removeProperty
public boolean removeProperty(java.lang.String property)
Remove the specified property identified by name- Parameters:
property
-
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
Get the value of specified property- Parameters:
property
- Property name- Returns:
- The value of the found property
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value)
Sets the value of specified property- Parameters:
property
- Property namevalue
- The value of the property
-
findProperty
public Property findProperty(java.lang.String propertyName)
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)- Parameters:
propertyName
- Property name.- Returns:
- The property.
-
getProperties
public PropertyCollection getProperties()
Gets the collection of all properties.
-
-