Module dagon.resource.gltf.node

GLTF node.

Description

The dagon.resource.gltf.node module defines the GLTFNode class, which represents a node in a GLTF scene graph, including transformation, hierarchy, mesh and skin references, and Entity association. Nodes support both TRS (translation, rotation, scale) and matrix transform modes, and provide methods for updating local and global transforms.

Functions

NameDescription
trsMatrix(t, r, s) Constructs a transformation matrix from translation, rotation, and scaling.

Classes

NameDescription
GLTFNode Represents a node in a GLTF scene graph.