Class Buffer
A buffer points to binary geometry, animation, or skins.
Inherited Members
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
Extras
Application-specific data.
Declaration
[JsonPropertyName("extras")]
[JsonConverter(typeof(ExtrasConverter))]
public ExtrasContainer Extras { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtrasContainer |
See Also
Uri
The URI (or IRI) of the buffer.
Declaration
[JsonPropertyName("uri")]
public UriValue Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| UriValue |