Method GetAccessor
GetAccessor(int)
Creates a generic byte-array view into an accessor. Only available during loading phase as underlying buffers are disposed right afterwards.
Declaration
NativeSlice<byte> GetAccessor(int accessorIndex)
Parameters
Type | Name | Description |
---|---|---|
int | accessorIndex | glTF accessor index |
Returns
Type | Description |
---|---|
NativeSlice<byte> | Valid byte-slice view into accessor's data if parameter was correct and buffers are available. Zero-length slice otherwise. |