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

GLXFInternalNode Class

Extends GLXFNode
Modifiers: final
A subclass of GLXFNode that represents a node in a GLXF file that has children.

Signature

class GLXFInternalNode(val entity: Entity, transform: GLXFNodeTransform, var name: String? = null, asset: GLXFAsset = GLXFAsset.nullGLXFAsset(), children: MutableList<GLXFNode> = mutableListOf<GLXFNode>(), childrenIndices: MutableSet<Int> = mutableSetOf<Int>(), isRoot: Boolean = true) : GLXFNode

Constructors

GLXFInternalNode ( entity , transform , name , asset , children , childrenIndices , isRoot )
Signature
constructor(entity: Entity, transform: GLXFNodeTransform, name: String? = null, asset: GLXFAsset = GLXFAsset.nullGLXFAsset(), children: MutableList<GLXFNode> = mutableListOf<GLXFNode>(), childrenIndices: MutableSet<Int> = mutableSetOf<Int>(), isRoot: Boolean = true)
Parameters
entity: Entity
transform: GLXFNodeTransform
name: String?
asset: GLXFAsset
children: MutableList
  The children of the node.
childrenIndices: MutableSet
  The indices of the children of the node.
isRoot: Boolean
  Whether the node is the root of the GLXF file.

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?

Functions

getChildren ()
gets a list of the children nodes
Signature
fun getChildren(): List<GLXFNode>
Returns
List
Did you find this page helpful?