Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GLTFAccessor¶
Inherits: Resource < RefCounted < Object
Represents a GLTF accessor.
Description¶
GLTFAccessor is a data structure representing GLTF a accessor
that would be found in the "accessors"
array. A buffer is a blob of binary data. A buffer view is a slice of a buffer. An accessor is a typed interpretation of the data in a buffer view.
Most custom data stored in GLTF does not need accessors, only buffer views (see GLTFBufferView). Accessors are for more advanced use cases such as interleaved mesh data encoded for the GPU.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Property Descriptions¶
int buffer_view = -1
The index of the buffer view this accessor is referencing. If -1
, this accessor is not referencing any buffer view.
int byte_offset = 0
There is currently no description for this property. Please help us by contributing one!
int component_type = 0
There is currently no description for this property. Please help us by contributing one!
int count = 0
There is currently no description for this property. Please help us by contributing one!
PackedFloat64Array max = PackedFloat64Array()
void set_max(value: PackedFloat64Array)
PackedFloat64Array get_max()
There is currently no description for this property. Please help us by contributing one!
PackedFloat64Array min = PackedFloat64Array()
void set_min(value: PackedFloat64Array)
PackedFloat64Array get_min()
There is currently no description for this property. Please help us by contributing one!
bool normalized = false
There is currently no description for this property. Please help us by contributing one!
int sparse_count = 0
There is currently no description for this property. Please help us by contributing one!
int sparse_indices_buffer_view = 0
There is currently no description for this property. Please help us by contributing one!
int sparse_indices_byte_offset = 0
There is currently no description for this property. Please help us by contributing one!
int sparse_indices_component_type = 0
There is currently no description for this property. Please help us by contributing one!
int sparse_values_buffer_view = 0
There is currently no description for this property. Please help us by contributing one!
int sparse_values_byte_offset = 0
There is currently no description for this property. Please help us by contributing one!
int type = 0
There is currently no description for this property. Please help us by contributing one!