mikaxyz/elm-gltf/4.1.0

NOTE: the latest version is 5.0.0

Gltf.Node

A Node is a container in a Tree of nodes that makes up a "scene". A Node can just define a Transform (meaning its children will appear in a different position) or a transform together with one or multiple Meshes or a Camera. A single Node and its children can be controlled by an Animation

Types

type Node
= Empty Properties
| Camera Index Properties
| Mesh (List Mesh) Properties
| SkinnedMesh (List Mesh) Index Properties
| Bone Index (Maybe Float) Properties

The types of Nodes returned as a Tree by a query

= Properties
{ nodeIndex : NodeIndex
, nodeName : Maybe String
, transform : Transform
}

The Transform of the Node along with name and index.