docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Buffer

    A buffer points to binary geometry, animation, or skins.

    Inheritance
    object
    NamedObject
    Buffer
    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 Buffer : 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

    ByteLength

    The length of the buffer in bytes.

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

    Extensions

    JSON object with extension-specific objects.

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

    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

    Uri

    The URI (or IRI) of the buffer.

    Declaration
    [JsonPropertyName("uri")]
    public UriValue Uri { get; set; }
    Property Value
    Type Description
    UriValue
    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)