Class GltfBuffer
A buffer points to binary geometry, animation, or skins. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/buffer.schema.json
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class GltfBuffer : GltfChildOfRootProperty
Fields
byteLength
The length of the buffer in bytes.
Declaration
public int byteLength
Field Value
Type | Description |
---|---|
Int32 |
uri
The uri of the buffer. Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri.
Declaration
public string uri
Field Value
Type | Description |
---|---|
String |
Properties
BufferData
Declaration
public byte[] BufferData { get; }
Property Value
Type | Description |
---|---|
Byte[] |