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

GLXFNode

GLXFNode

open class GLXFNode(val entity: Entity, transform: GLXFNodeTransform, var name: String? = null, asset: GLXFAsset = GLXFAsset.nullGLXFAsset())
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

Constructors

NameSummary
GLXFNode
constructor(entity: Entity, transform: GLXFNodeTransform, name: String? = null, asset: GLXFAsset = GLXFAsset.nullGLXFAsset())

Properties

NameSummary
entity
val entity: Entity

The entity associated with the node.
name
var name: String?

The name of the node.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon