docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BufferView

    A view into a buffer generally representing a subset of the buffer.

    Inheritance
    object
    NamedObject
    BufferView
    Inherited Members
    NamedObject.Name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class BufferView : NamedObject

    Properties

    AdditionalProperties

    Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.

    Declaration
    [JsonIgnore]
    public ReadOnlyProperties AdditionalProperties { get; }
    Property Value
    Type Description
    ReadOnlyProperties

    Buffer

    The index of the buffer.

    Declaration
    [JsonPropertyName("buffer")]
    public int? Buffer { get; set; }
    Property Value
    Type Description
    int?

    ByteLength

    The length of the bufferView in bytes.

    Declaration
    [JsonPropertyName("byteLength")]
    public int ByteLength { get; set; }
    Property Value
    Type Description
    int

    ByteOffset

    The offset into the buffer in bytes.

    Declaration
    [JsonPropertyName("byteOffset")]
    public int ByteOffset { get; set; }
    Property Value
    Type Description
    int

    ByteStride

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

    Declaration
    [JsonPropertyName("byteStride")]
    public int? ByteStride { get; set; }
    Property Value
    Type Description
    int?

    Extensions

    BufferView extensions

    Declaration
    [JsonPropertyName("extensions")]
    public BufferViewExtensions Extensions { get; set; }
    Property Value
    Type Description
    BufferViewExtensions
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-bufferview

    Extras

    Application-specific data.

    Declaration
    [JsonPropertyName("extras")]
    [JsonConverter(typeof(ExtrasConverter))]
    public ExtrasContainer Extras { get; set; }
    Property Value
    Type Description
    ExtrasContainer
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extras

    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.

    Declaration
    [JsonPropertyName("target")]
    public BufferViewTarget Target { get; set; }
    Property Value
    Type Description
    BufferViewTarget
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)