Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INode

Loader interface with additional members.

Hierarchy

Index

Properties

Optional cameraSearch playground for camera

camera: number

The index of the camera referenced by this node

Optional childrenSearch playground for children

children: number[]

The indices of this node's children

Optional extensionsSearch playground for extensions

extensions: {}

Dictionary object with extension-specific objects

Type declaration

  • [key: string]: any

Optional extrasSearch playground for extras

extras: any

Application-Specific data

indexSearch playground for index

index: number

The index of this item in the array.

Optional matrixSearch playground for matrix

matrix: number[]

A floating-point 4x4 transformation matrix stored in column-major order

Optional meshSearch playground for mesh

mesh: number

The index of the mesh in this node

Optional nameSearch playground for name

name: string

The user-defined name of this object

Optional parentSearch playground for parent

parent: INode

The parent glTF node.

Optional rotationSearch playground for rotation

rotation: number[]

The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar

Optional scaleSearch playground for scale

scale: number[]

The node's non-uniform scale, given as the scaling factors along the x, y, and z axes

Optional skinSearch playground for skin

skin: number

The index of the skin referenced by this node

Optional translationSearch playground for translation

translation: number[]

The node's translation along the x, y, and z axes

Optional weightsSearch playground for weights

weights: number[]

The weights of the instantiated Morph Target. Number of elements must match number of Morph Targets of used mesh

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method