Edit

Share via


Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema Namespace

Classes

GltfAccessor

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.schema.json

GltfAccessorSparse

Sparse storage of attributes that deviate from their initialization value. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.sparse.schema.json

GltfAccessorSparseIndices

Indices of those attributes that deviate from their initialization value. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.sparse.indices.schema.json

GltfAccessorSparseValues

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.sparse.values.schema.json

GltfAnimation

A keyframe animation. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/animation.schema.json

GltfAnimationChannel

Targets an animation's sampler at a node's property. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/animation.channel.schema.json

GltfAnimationChannelTarget

The index of the node and TRS property that an animation channel targets. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/animation.channel.target.schema.json

GltfAnimationSampler

Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target). https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/animation.sampler.schema.json

GltfAssetInfo

Metadata about the glTF asset. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/asset.schema.json

GltfBuffer

A buffer points to binary geometry, animation, or skins. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/buffer.schema.json

GltfBufferView

A view into a buffer generally representing a subset of the buffer. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/bufferView.schema.json

GltfCamera

A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/camera.schema.json

GltfCameraOrthographic

An orthographic camera containing properties to create an orthographic projection matrix. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/camera.orthographic.schema.json

GltfCameraPerspective

A perspective camera containing properties to create a perspective projection matrix. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/camera.perspective.schema.json

GltfChildOfRootProperty

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/glTFChildOfRootProperty.schema.json

GltfImage

Image data used to create a texture. Image can be referenced by URI or bufferView index. mimeType is required in the latter case. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/image.schema.json

GltfMaterial

The material appearance of a primitive. https://github.com/KhronosGroup/glTF/tree/master/specification/2.0/schema

GltfMaterialCommonConstant
GltfMesh

A set of primitives to be rendered. A node can contain one or more meshes. A node's transform places the mesh in the scene. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/mesh.schema.json

GltfMeshPrimitive

Geometry to be rendered with the given material. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/mesh.primitive.schema.json

GltfMeshPrimitiveAttributes

Common mesh primitive attributes. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/mesh.primitive.schema.json

GltfNode

A node in the node hierarchy. When the node contains skin, all mesh.primitives must contain JOINT and WEIGHT attributes. A node can have either a matrix or any combination of translation/rotation/scale (TRS) properties. TRS properties are converted to matrices and postmultiplied in the T * R * S order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the Identity. When a node is targeted for animation (referenced by an animation.channel.target), only TRS properties may be present; matrix will not be present. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/node.schema.json

GltfNormalTextureInfo

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/material.normalTextureInfo.schema.json

GltfObject
GltfOcclusionTextureInfo

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/material.occlusionTextureInfo.schema.json

GltfPbrMetallicRoughness

A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/material.pbrMetallicRoughness.schema.json

GltfProperty
GltfSampler

Texture sampler properties for filtering and wrapping modes. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/sampler.schema.json

GltfScene

The indices of each root node. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/scene.schema.json

GltfSkin

Joints and matrices defining a skin. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/skin.schema.json

GltfTexture

A texture and its sampler. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/texture.schema.json

GltfTextureInfo

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/textureInfo.schema.json

Enums

GltfAccessorAttributeType

Specifies if the attribute is a scalar, vector, or matrix. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.schema.json

GltfAlphaMode

The alpha rendering mode of the material. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/material.schema.json

GltfAnimationChannelPath

The name of the node's TRS property to modify, or the weights of the Morph Target it instantiates. For the translation property, the values that are provided by the sampler are the translation along the x, y, and z axes. For the rotation property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the scale property, the values are the scaling factors along the x, y, and z axes. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/animation.channel.target.schema.json

GltfBufferViewTarget

The target that the GPU buffer should be bound to. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/bufferView.schema.json

GltfCameraType

Specifies if the camera uses a perspective or orthographic projection. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/camera.schema.json

GltfComponentType

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.schema.json:componentType

The datatype of components in the attribute. All valid values correspond to WebGL enums. The corresponding typed arrays are 'Int8Array', 'Uint8Array', 'Int16Array', 'Uint16Array', 'Uint32Array', and 'Float32Array', respectively. 5125 (UNSIGNED_INT) is only allowed when the accessor contains indices, i.e., the accessor is only referenced by 'primitive.indices'.

GltfDrawMode

The type of primitives to render. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/mesh.primitive.schema.json

GltfInterpolationType

Interpolation algorithm. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/animation.sampler.schema.json

GltfMagnificationFilterMode

Magnification filter mode. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/sampler.schema.json

GltfMinFilterMode

Minification filter mode. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/sampler.schema.json

GltfWrapMode

Texture wrap mode. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/sampler.schema.json