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

NameTypeAccessDescription
assetInfoAssetInfoReadGets the asset info.
visiblebooleanReadGets the visible.
childNodesList<Node>ReadGets the child nodes.
entityEntityReadGets the entity.
excludedbooleanReadGets the excluded.
entitiesList<Entity>ReadGets the entities.
metaDatasList<CustomObject>ReadGets the meta datas.
materialsList<Material>ReadGets the materials.
materialMaterialReadGets the material.
parentNodeNodeReadGets the parent node.
transformTransformReadGets the transform.
globalTransformGlobalTransformReadGets the global transform.
boundingBoxBoundingBoxReadGets the bounding box.
sceneSceneReadGets the scene.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
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()AssetInfoReturns the asset info.
setAssetInfo(value: AssetInfo)Sets the asset info value.
getVisible()booleanReturns the visible.
setVisible(value: boolean)Sets the visible value.
getChildNodes()List<Node>Returns the child nodes.
createChildNode()NodeCalls createChildNode on this Node instance.
createChildNode(name: String)NodeCalls createChildNode(name) on this Node instance.
createChildNode(entity: Entity)NodeCalls createChildNode(entity) on this Node instance.
createChildNode(name: String, entity: Entity)NodeCalls createChildNode(name, entity) on this Node instance.
createChildNode(name: String, entity: Entity, material: Material)NodeCalls createChildNode(name, entity, material) on this Node instance.
merge(other: Node)Calls merge(other) on this Node instance.
getEntity()EntityReturns the entity.
setEntity(value: Entity)Sets the entity value.
getExcluded()booleanReturns 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()MaterialReturns the material.
setMaterial(value: Material)Sets the material value.
getParentNode()NodeReturns the parent node.
setParentNode(value: Node)Sets the parent node value.
getTransform()TransformReturns the transform.
getGlobalTransform()GlobalTransformReturns the global transform.
evaluateGlobalTransform(includeGeometricTransform: boolean)Matrix4Calls evaluateGlobalTransform(includeGeometricTransform) on this Node instance.
getChild(index: int)NodeCalls getChild(index) on this Node instance.
getChild(name: String)NodeCalls getChild(name) on this Node instance.
accept(visitor: NodeVisitor)booleanCalls accept(visitor) on this Node instance.
getBoundingBox()BoundingBoxReturns 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)ObjectCalls selectSingleObject(query) on this Node instance.
selectObjects(query: String)ArrayList<Object>Calls selectObjects(query) on this Node instance.
toString()StringCalls toString on this Node instance.
getScene()SceneReturns the scene.
getName()StringReturns the name.
setName(name: String)Sets the name value.
getProperties()PropertyCollectionReturns the properties.
findProperty(name: String)PropertyCalls findProperty(name) on this Node instance.
getProperty(name: String)ObjectCalls getProperty(name) on this Node instance.
setProperty(name: String, value: Object)Sets the property value.
removeProperty(name: String)booleanCalls removeProperty(name) on this Node instance.

See Also

 English