A constructor defined in BBMOD_Node.gml

Implements BBMOD_IRenderable

new BBMOD_Node(_model)


A node struct.


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


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.
Meshes An array of mesh 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.


Name Description
add_child Adds a child node.
clone Creates a clone of the node.
copy Copies node data into another node.
from_buffer Loads node data from a buffer.
render Enqueues the node for rendering.
set_renderable Marks the node and nodes up the chain as renderable.
submit Immediately submits the node for rendering.
to_buffer Writes node data to a buffer.

See also


Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.