mikaxyz/elm-gltf/2.0.1

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
= EmptyNode Properties
| CameraNode Index Properties
| MeshNode (List Mesh) Properties
| SkinnedMeshNode (List Mesh) Index 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.