API reference
API reference
Select your platform
No SDKs available
No versions available

GLXFNode Class

Modifiers: open
An open class representing a node in a GLXF file. You can use it to access the entity that has been inflated to represent the node.
Example:
val myNode = myGLXFInfo.getNodeByName("myNodeName")
val myEntity = myNode.entity

Signature

open class GLXFNode(val entity: Entity, transform: GLXFNodeTransform, var name: String? = null, asset: GLXFAsset = GLXFAsset.nullGLXFAsset())

Constructors

GLXFNode ( entity , transform , name , asset ) : GLXFNode
Signature
constructor(entity: Entity, transform: GLXFNodeTransform, name: String? = null, asset: GLXFAsset = GLXFAsset.nullGLXFAsset())
Parameters
entity: Entity
The entity associated with the node.
transform: GLXFNodeTransform
The transformation of the node.
name: String?
The name of the node.
asset: GLXFAsset
The asset associated with the node.
Returns

Properties

entity : Entity
[Get]
The entity associated with the node.
Signature
val entity: Entity
name : String?
[Get][Set]
The name of the node.
Signature
var name: String?
Did you find this page helpful?
Thumbs up icon
Thumbs down icon