GltfObject Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class GltfObject : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfProperty
[System.Serializable]
public class GltfObject : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfProperty
[<System.Serializable>]
type GltfObject = class
inherit GltfProperty
Public Class GltfObject
Inherits GltfProperty
- Inheritance
- Attributes
accessors |
An array of accessors. An accessor is a typed view into a bufferView. |
animations |
An array of keyframe animations. |
asset |
Metadata about the glTF asset. |
buffers |
An array of buffers. A buffer points to binary geometry, animation, or skins. |
buffer |
An array of bufferViews. A bufferView is a view into a buffer generally representing a subset of the buffer. |
cameras |
An array of cameras. A camera defines a projection matrix. |
Extensions |
https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extension.schema.json (Inherited from GltfProperty) |
extensions |
Names of glTF extensions required to properly load this asset. |
extensions |
Names of glTF extensions used somewhere in this asset. |
Extras |
https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extras.schema.json (Inherited from GltfProperty) |
images |
An array of images. An image defines data used to create a texture. |
materials |
An array of materials. A material defines the appearance of a primitive. |
meshes |
An array of meshes. A mesh is a set of primitives to be rendered. |
nodes |
An array of nodes. |
samplers |
An array of samplers. A sampler contains properties for texture filtering and wrapping modes. |
scene |
The index of the default scene. |
scenes |
An array of scenes. |
skins |
An array of skins. A skin is defined by joints and matrices. |
textures |
An array of textures. |
Game |
The GameObject reference for the gltf Object. |
Name |
The name of the gltf Object. |
Node |
The Node Id and corresponding GameObject pairs. |
Registered |
The list of registered glTF extensions found for this object. |
Uri |
The absolute path to the glTF Object on disk. |
Get |
Get an accessor from an accessor index |
Construct(Gltf |
Constructs the glTF Object. |
Construct |
Constructs the glTF Object. |
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |