GltfBufferView Class

Definition

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

public ref class GltfBufferView : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty
public ref class GltfBufferView : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty, UnityEngine::ISerializationCallbackReceiver
[System.Serializable]
public class GltfBufferView : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfChildOfRootProperty
[System.Serializable]
public class GltfBufferView : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfChildOfRootProperty, UnityEngine.ISerializationCallbackReceiver
[<System.Serializable>]
type GltfBufferView = class
    inherit GltfChildOfRootProperty
[<System.Serializable>]
type GltfBufferView = class
    inherit GltfChildOfRootProperty
    interface ISerializationCallbackReceiver
Public Class GltfBufferView
Inherits GltfChildOfRootProperty
Public Class GltfBufferView
Inherits GltfChildOfRootProperty
Implements ISerializationCallbackReceiver
Inheritance
Attributes
Implements
UnityEngine.ISerializationCallbackReceiver

Constructors

GltfBufferView()

Fields

buffer

The index of the buffer.

byteLength

The length of the bufferView in bytes. 0

byteOffset

The offset into the buffer in bytes. 0

byteStride

The stride, in bytes, between vertex attributes or other interleavable data. When this is zero, data is tightly packed. 0255

Extensions

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

(Inherited from GltfProperty)
Extras

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

(Inherited from GltfProperty)
name

The user-defined name of this object. This is not necessarily unique, e.g., an accessor and a buffer could have the same name, or two accessors could even have the same name.

(Inherited from GltfChildOfRootProperty)
target

The target that the WebGL buffer should be bound to. All valid values correspond to WebGL enums. When this is not provided, the bufferView contains animation or skin data.

Properties

Buffer

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

Target

The target that the WebGL buffer should be bound to. All valid values correspond to WebGL enums. When this is not provided, the bufferView contains animation or skin data.

Explicit Interface Implementations

ISerializationCallbackReceiver.OnAfterDeserialize()
ISerializationCallbackReceiver.OnBeforeSerialize()

Applies to