Node
Overview
Node is a class in Aspose.3D FOSS for Java.
Inherits from: SceneObject.
This class provides 30 methods for working with Node objects in Java programs.
Available methods include: Node, accept, addChildNode, addEntity, createChildNode, evaluateGlobalTransform, getAssetInfo, getBoundingBox, getChild, getChildNodes, getEntities, getEntity, and 18 additional methods.
All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: assetInfo, boundingBox, childNodes, entities, entity, excluded, and 7 more.
Description
Node is a class in the Aspose.3D FOSS library for Java that exposes 43 methods and 16 properties for programmatic use. It extends SceneObject, inheriting shared functionality from its parent type.
Core capabilities include: assetinfo; boolean; list<node>. These operations enable developers to integrate node functionality directly into Java applications.
The class also provides the assetInfo property (gets the asset info), the visible property (gets the visible), the childNodes property (gets the child nodes).
The class offers 5 constructor overloads, allowing flexible initialization depending on the calling context.
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. |
Methods
| Signature | Description |
|---|---|
Node() | |
Node(name: String) | |
Node(name: String, entity: Entity) | |
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 | |
createChildNode(name: String) → Node | |
createChildNode(entity: Entity) → Node | |
createChildNode(name: String, entity: Entity) → Node | |
createChildNode(name: String, entity: Entity, material: Material) → Node | |
merge(other: Node) | |
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 | |
getChild(index: int) → Node | |
getChild(name: String) → Node | |
accept(visitor: NodeVisitor) → boolean | |
getBoundingBox() → BoundingBox | Returns the bounding box. |
addEntity(entity: Entity) | |
addChildNode(node: Node) | |
selectSingleObject(query: String) → Object | |
selectObjects(query: String) → ArrayList<Object> | |
toString() → String | |
addEntity(entity: Entity, material: Material) |