API reference

GLXFInternalNode Class

Extends GLXFNode
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<GLXFNode>  The children of the node.
childrenIndices: MutableSet<Int>  The indices of the children of the node.
isRoot: Boolean  Whether the node is the root of the GLXF file.
Returns
GLXFInternalNode

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?

Methods

getChildren ()
gets a list of the children nodes
Signature
fun getChildren(): List<GLXFNode>
Returns
List<GLXFNode>