mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class GltfObject

    Inheritance
    Object
    GltfProperty
    GltfObject
    Inherited Members
    GltfProperty.Extensions
    GltfProperty.Extras
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
    Assembly: cs.temp.dll.dll
    Syntax
    public class GltfObject : GltfProperty

    Fields

    accessors

    An array of accessors. An accessor is a typed view into a bufferView.

    Declaration
    public GltfAccessor[] accessors
    Field Value
    Type Description
    GltfAccessor[]

    accessors

    An array of accessors. An accessor is a typed view into a bufferView.

    Declaration
    public GltfAccessor[] accessors
    Field Value
    Type Description
    GltfAccessor[]

    animations

    An array of keyframe animations.

    Declaration
    public GltfAnimation[] animations
    Field Value
    Type Description
    GltfAnimation[]

    animations

    An array of keyframe animations.

    Declaration
    public GltfAnimation[] animations
    Field Value
    Type Description
    GltfAnimation[]

    asset

    Metadata about the glTF asset.

    Declaration
    public GltfAssetInfo asset
    Field Value
    Type Description
    GltfAssetInfo

    asset

    Metadata about the glTF asset.

    Declaration
    public GltfAssetInfo asset
    Field Value
    Type Description
    GltfAssetInfo

    buffers

    An array of buffers. A buffer points to binary geometry, animation, or skins.

    Declaration
    public GltfBuffer[] buffers
    Field Value
    Type Description
    GltfBuffer[]

    buffers

    An array of buffers. A buffer points to binary geometry, animation, or skins.

    Declaration
    public GltfBuffer[] buffers
    Field Value
    Type Description
    GltfBuffer[]

    bufferViews

    An array of bufferViews. A bufferView is a view into a buffer generally representing a subset of the buffer.

    Declaration
    public GltfBufferView[] bufferViews
    Field Value
    Type Description
    GltfBufferView[]

    bufferViews

    An array of bufferViews. A bufferView is a view into a buffer generally representing a subset of the buffer.

    Declaration
    public GltfBufferView[] bufferViews
    Field Value
    Type Description
    GltfBufferView[]

    cameras

    An array of cameras. A camera defines a projection matrix.

    Declaration
    public GltfCamera[] cameras
    Field Value
    Type Description
    GltfCamera[]

    cameras

    An array of cameras. A camera defines a projection matrix.

    Declaration
    public GltfCamera[] cameras
    Field Value
    Type Description
    GltfCamera[]

    extensionsRequired

    Names of glTF extensions required to properly load this asset.

    Declaration
    public string[] extensionsRequired
    Field Value
    Type Description
    String[]

    extensionsRequired

    Names of glTF extensions required to properly load this asset.

    Declaration
    public string[] extensionsRequired
    Field Value
    Type Description
    String[]

    extensionsUsed

    Names of glTF extensions used somewhere in this asset.

    Declaration
    public string[] extensionsUsed
    Field Value
    Type Description
    String[]

    extensionsUsed

    Names of glTF extensions used somewhere in this asset.

    Declaration
    public string[] extensionsUsed
    Field Value
    Type Description
    String[]

    images

    An array of images. An image defines data used to create a texture.

    Declaration
    public GltfImage[] images
    Field Value
    Type Description
    GltfImage[]

    images

    An array of images. An image defines data used to create a texture.

    Declaration
    public GltfImage[] images
    Field Value
    Type Description
    GltfImage[]

    materials

    An array of materials. A material defines the appearance of a primitive.

    Declaration
    public GltfMaterial[] materials
    Field Value
    Type Description
    GltfMaterial[]

    materials

    An array of materials. A material defines the appearance of a primitive.

    Declaration
    public GltfMaterial[] materials
    Field Value
    Type Description
    GltfMaterial[]

    meshes

    An array of meshes. A mesh is a set of primitives to be rendered.

    Declaration
    public GltfMesh[] meshes
    Field Value
    Type Description
    GltfMesh[]

    meshes

    An array of meshes. A mesh is a set of primitives to be rendered.

    Declaration
    public GltfMesh[] meshes
    Field Value
    Type Description
    GltfMesh[]

    nodes

    An array of nodes.

    Declaration
    public GltfNode[] nodes
    Field Value
    Type Description
    GltfNode[]

    nodes

    An array of nodes.

    Declaration
    public GltfNode[] nodes
    Field Value
    Type Description
    GltfNode[]

    samplers

    An array of samplers. A sampler contains properties for texture filtering and wrapping modes.

    Declaration
    public GltfSampler[] samplers
    Field Value
    Type Description
    GltfSampler[]

    samplers

    An array of samplers. A sampler contains properties for texture filtering and wrapping modes.

    Declaration
    public GltfSampler[] samplers
    Field Value
    Type Description
    GltfSampler[]

    scene

    The index of the default scene.

    Declaration
    public int scene
    Field Value
    Type Description
    Int32

    scene

    The index of the default scene.

    Declaration
    public int scene
    Field Value
    Type Description
    Int32

    scenes

    An array of scenes.

    Declaration
    public GltfScene[] scenes
    Field Value
    Type Description
    GltfScene[]

    scenes

    An array of scenes.

    Declaration
    public GltfScene[] scenes
    Field Value
    Type Description
    GltfScene[]

    skins

    An array of skins. A skin is defined by joints and matrices.

    Declaration
    public GltfSkin[] skins
    Field Value
    Type Description
    GltfSkin[]

    skins

    An array of skins. A skin is defined by joints and matrices.

    Declaration
    public GltfSkin[] skins
    Field Value
    Type Description
    GltfSkin[]

    textures

    An array of textures.

    Declaration
    public GltfTexture[] textures
    Field Value
    Type Description
    GltfTexture[]

    textures

    An array of textures.

    Declaration
    public GltfTexture[] textures
    Field Value
    Type Description
    GltfTexture[]

    Properties

    GameObjectReference

    The GameObject reference for the gltf Object.

    Declaration
    public GameObject GameObjectReference { get; }
    Property Value
    Type Description
    GameObject

    GameObjectReference

    The GameObject reference for the gltf Object.

    Declaration
    public GameObject GameObjectReference { get; }
    Property Value
    Type Description
    GameObject

    Name

    The name of the gltf Object.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    Name

    The name of the gltf Object.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    RegisteredExtensions

    The list of registered glTF extensions found for this object.

    Declaration
    public List<GltfExtension> RegisteredExtensions { get; }
    Property Value
    Type Description
    List<GltfExtension>

    RegisteredExtensions

    The list of registered glTF extensions found for this object.

    Declaration
    public List<GltfExtension> RegisteredExtensions { get; }
    Property Value
    Type Description
    List<GltfExtension>

    Uri

    The absolute path to the glTF Object on disk.

    Declaration
    public string Uri { get; }
    Property Value
    Type Description
    String

    Uri

    The absolute path to the glTF Object on disk.

    Declaration
    public string Uri { get; }
    Property Value
    Type Description
    String

    Methods

    GetAccessor(Int32)

    Get an accessor from an accessor index

    Declaration
    public GltfAccessor GetAccessor(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    GltfAccessor
    In This Article
    • Fields
      • accessors
      • accessors
      • animations
      • animations
      • asset
      • asset
      • buffers
      • buffers
      • bufferViews
      • bufferViews
      • cameras
      • cameras
      • extensionsRequired
      • extensionsRequired
      • extensionsUsed
      • extensionsUsed
      • images
      • images
      • materials
      • materials
      • meshes
      • meshes
      • nodes
      • nodes
      • samplers
      • samplers
      • scene
      • scene
      • scenes
      • scenes
      • skins
      • skins
      • textures
      • textures
    • Properties
      • GameObjectReference
      • GameObjectReference
      • Name
      • Name
      • RegisteredExtensions
      • RegisteredExtensions
      • Uri
      • Uri
    • Methods
      • GetAccessor(Int32)
    Back to top Generated by DocFX