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

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.

Methods

SignatureDescription
Node()
Node(name: String)
Node(name: String, entity: Entity)
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()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()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)Matrix4
getChild(index: int)Node
getChild(name: String)Node
accept(visitor: NodeVisitor)boolean
getBoundingBox()BoundingBoxReturns 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)

See Also