BBMOD_Node

Implements Struct.BBMOD_IRenderable

constructor

new BBMOD_Node(_model)

Description

A node struct.

Arguments

Name Type Description
_model Struct.BBMOD_Model The model which contains this node.

Properties

Name Description
Children An array of child nodes.
Index The node index.
IsBone If true then the node is a bone.
IsRenderable If true then the node or a node down the chain has a mesh.
IsSkeleton If true then the node is part of a skeleton node chain.
Meshes An array of meshes indices.
Model The model which contains this node.
Name The name of the node.
Parent The parent of this node or undefined if it is the root node.
Transform The transformation of the node.
Visible Set to false to disable rendering of the node and its child nodes.

Methods

Name Description
add_child Adds a child node.
set_renderable Marks the node and nodes up the chain as renderable.
set_skeleton Marks the node and nodes up the chain as nodes required for animation playback.

See also

BBMOD_Model.RootNode

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 16, 2022 using GMDoc.