Navigation
API > API/Plugins > API/Plugins/GLTFCore
References
| Module | GLTFCore |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Parsers/GLTFCore/Public/GLTFAccessor.h |
| Include | #include "GLTFAccessor.h" |
Syntax
struct FAccessor
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AccessorIndex | ||
| const bool | bNormalized | ||
| bool | bQuantized | ||
| FBufferView | BufferView | ||
| uint64 | ByteOffset | ||
| const uint32 | ByteStride | ||
| const EComponentType | ComponentType | ||
| const uint32 | Count | ||
| const uint32 | ElementSize | ||
| const uint32 | NumberOfComponents | ||
| const FSparse | Sparse | ||
| const EType | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAccessor () |
|||
FAccessor
(
uint32 InAccessorIndex, |
Compressed Data sets (FAccessor does not have FBufferView at processing of Accessors, as FBufferview will be created with the processing of the KHR_draco_mesh_compression extension) | ||
FAccessor
(
uint32 InAccessorIndex, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CheckAccessorTypeForDataType
(
EMeshAttributeType MeshAttributeType, |
||
| bool | CheckNonQuantizedComponentTypeForDataType
(
EMeshAttributeType MeshAttributeType, |
||
| bool | CheckQuantizedComponentTypeForDataType
(
EMeshAttributeType MeshAttributeType, |
||
| const uint8 * | DataAt
(
uint32 Index |
||
| void | GetCoordArray
(
TArray< FVector3f >& Buffer |
Performs axis conversion for vec3s(i.e. from glTF right-handed and Y-up to left-handed and Z-up). | |
| void | GetCoordArray
(
FVector3f* Buffer |
||
| float | GetFloat
(
uint32 Index |
||
| void | GetFloatArray
(
TArray< float >& Buffer |
||
| void | GetFloatArray
(
float* Buffer |
||
| FMD5Hash | GetHash () |
||
| FMatrix | GetMat4
(
uint32 Index |
||
| void | GetMat4Array
(
FMatrix44f* Buffer |
||
| void | GetMat4Array
(
TArray< FMatrix44f >& Buffer |
||
| void | GetQuatArray
(
FVector4f* Buffer |
||
| void | GetQuatArray
(
TArray< FVector4f >& Buffer |
Performs axis conversion for quaternion(i.e. from glTF right-handed and Y-up to left-handed and Z-up). | |
| uint32 | GetUnsignedInt
(
uint32 Index |
||
| void | GetUnsignedInt16x4
(
uint32 Index, |
||
| void | GetUnsignedIntArray
(
uint32* Buffer |
||
| void | GetUnsignedIntArray
(
TArray< uint32 >& Buffer |
||
| FVector2D | GetVec2
(
uint32 Index |
||
| void | GetVec2Array
(
TArray< FVector2f >& Buffer |
||
| void | GetVec2Array
(
FVector2f* Buffer |
||
| FVector | GetVec3
(
uint32 Index |
||
| void | GetVec3Array
(
TArray< FVector3f >& Buffer |
||
| void | GetVec3Array
(
FVector3f* Buffer |
||
| FVector4 | GetVec4
(
uint32 Index |
||
| void | GetVec4Array
(
FVector4f* Buffer |
||
| void | GetVec4Array
(
TArray< FVector4f >& Buffer |
||
| bool | IsValid () |
||
| bool | IsValidDataType
(
EMeshAttributeType MeshAttributeType, |
||
| void | UpdateArrayWithSparse
(
ItemType* Data |
||
| void | UpdateFloatArrayWithSparse
(
float* Data |
||
| void | UpdateFloatWithSparse
(
uint32 Index, |
||
| void | UpdateMat4WithSparse
(
uint32 Index, |
||
| void | UpdateUnsignedInt16x4WithSparse
(
uint32 Index, |
||
| void | UpdateUnsignedIntArrayWithSparse
(
uint32* Data |
||
| void | UpdateUnsignedIntWithSparse
(
uint32 Index, |
Sparse related helpers: | |
| void | UpdateVec2WithSparse
(
uint32 Index, |
||
| void | UpdateVec3WithSparse
(
uint32 Index, |
||
| void | UpdateVec4WithSparse
(
uint32 Index, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSparse |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EComponentType | |||
| EType |