Class GltfObject
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
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[] |
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 |
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[] |
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[] |
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[] |
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[] |
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[] |
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[] |
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[] |
Properties
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 |
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 |