Node
Overview
Node is a class in Aspose.3D FOSS for Java.
Inherits from: SceneObject.
Node represents a scene‑graph element; you can create child nodes, assign an Entity, and control visibility via getVisible/setVisible.
This class provides 45 methods for working with Node objects in Java programs.
Available methods include: Node, accept, addChildNode, addEntity, createChildNode, evaluateGlobalTransform, findProperty, getAssetInfo, getBoundingBox, getChild, getChildNodes, getEntities, and 26 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: assetInfo, boundingBox, childNodes, entities, entity, excluded, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
assetInfo | AssetInfo | Read | Gets the asset info. |
visible | boolean | Read | Gets the visible. |
childNodes | List<Node> | Read | Gets the child nodes. |
entity | Entity | Read | Gets the entity. |
excluded | boolean | Read | Gets the excluded. |
entities | List<Entity> | Read | Gets the entities. |
metaDatas | List<CustomObject> | Read | Gets the meta datas. |
materials | List<Material> | Read | Gets the materials. |
material | Material | Read | Gets the material. |
parentNode | Node | Read | Gets the parent node. |
transform | Transform | Read | Gets the transform. |
globalTransform | GlobalTransform | Read | Gets the global transform. |
boundingBox | BoundingBox | Read | Gets the bounding box. |
scene | Scene | Read | Gets the scene. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
Node() | Calls Node on this Node instance. |
Node(name: String) | Calls Node(name) on this Node instance. |
Node(name: String, entity: Entity) | Calls Node(name, entity) on this Node instance. |
getAssetInfo() → AssetInfo | Returns the asset info. |
setAssetInfo(value: AssetInfo) | Sets the asset info value. |
getVisible() → boolean | Returns the visible. |
setVisible(value: boolean) | Sets the visible value. |
getChildNodes() → List<Node> | Returns the child nodes. |
createChildNode() → Node | Calls createChildNode on this Node instance. |
createChildNode(name: String) → Node | Calls createChildNode(name) on this Node instance. |
createChildNode(entity: Entity) → Node | Calls createChildNode(entity) on this Node instance. |
createChildNode(name: String, entity: Entity) → Node | Calls createChildNode(name, entity) on this Node instance. |
createChildNode(name: String, entity: Entity, material: Material) → Node | Calls createChildNode(name, entity, material) on this Node instance. |
merge(other: Node) | Calls merge(other) on this Node instance. |
getEntity() → Entity | Returns the entity. |
setEntity(value: Entity) | Sets the entity value. |
getExcluded() → boolean | Returns the excluded. |
setExcluded(value: boolean) | Sets the excluded value. |
getEntities() → List<Entity> | Returns the entities. |
getMetaDatas() → List<CustomObject> | Returns the meta datas. |
getMaterials() → List<Material> | Returns the materials. |
getMaterial() → Material | Returns the material. |
setMaterial(value: Material) | Sets the material value. |
getParentNode() → Node | Returns the parent node. |
setParentNode(value: Node) | Sets the parent node value. |
getTransform() → Transform | Returns the transform. |
getGlobalTransform() → GlobalTransform | Returns the global transform. |
evaluateGlobalTransform(includeGeometricTransform: boolean) → Matrix4 | Calls evaluateGlobalTransform(includeGeometricTransform) on this Node instance. |
getChild(index: int) → Node | Calls getChild(index) on this Node instance. |
getChild(name: String) → Node | Calls getChild(name) on this Node instance. |
accept(visitor: NodeVisitor) → boolean | Calls accept(visitor) on this Node instance. |
getBoundingBox() → BoundingBox | Returns the bounding box. |
addEntity(entity: Entity) | Calls addEntity(entity) on this Node instance. |
addChildNode(node: Node) | Calls addChildNode(node) on this Node instance. |
selectSingleObject(query: String) → Object | Calls selectSingleObject(query) on this Node instance. |
selectObjects(query: String) → ArrayList<Object> | Calls selectObjects(query) on this Node instance. |
toString() → String | Calls toString on this Node instance. |
getScene() → Scene | Returns the scene. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Returns the properties. |
findProperty(name: String) → Property | Calls findProperty(name) on this Node instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this Node instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this Node instance. |