Module for glTF 2.0 Interface

Type aliases

AccessorComponentType: 5120 | 5121 | 5122 | 5123 | 5125 | 5126

Data type of the values composing each element in the accessor.

AccessorType: "SCALAR" | "VEC2" | "VEC3" | "VEC4" | "MAT2" | "MAT3" | "MAT4"

Element type contained by the accessor (SCALAR, VEC2, ...).

AnimationChannelTargetPath: "translation" | "rotation" | "scale" | "weights"

Name of the property to be modified by an animation channel.

AnimationSamplerInterpolation: "LINEAR" | "STEP" | "CUBICSPLINE"

Interpolation method.

CameraType: "perspective" | "orthographic"

Projection type used by a camera.

MaterialAlphaMode: "OPAQUE" | "MASK" | "BLEND"

The alpha rendering mode of the material.

MeshPrimitiveMode: 0 | 1 | 2 | 3 | 4 | 5 | 6

The type of the GL primitives to render.

TextureMagFilter: 9728 | 9729

Magnification filter. Values match to WebGL enums: 9728 (NEAREST) and 9729 (LINEAR).

TextureMinFilter: 9728 | 9729 | 9984 | 9985 | 9986 | 9987

Minification filter. All valid values correspond to WebGL enums.

TextureWrapMode: 33071 | 33648 | 10497

S (U) wrapping mode. All valid values correspond to WebGL enums.

Function symbol, f(📦) → 📦, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy • TypeDoc documentation • Copyright 2023, MIT license