Navigation
API > API/Plugins > API/Plugins/GLTFCore
| Name | FAccessor |
| Type | struct |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Parsers/GLTFCore/Public/GLTFAccessor.h |
| Include Path | #include "GLTFAccessor.h" |
Syntax
struct FAccessor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAccessor
(
uint32 InAccessorIndex, |
GLTFAccessor.h | ||
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) | GLTFAccessor.h | |
FAccessor () |
GLTFAccessor.h |
Structs
| Name | Remarks |
|---|---|
| FSparse |
Enums
Public
| Name | Remarks |
|---|---|
| EComponentType | |
| EType |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccessorIndex | uint32 | GLTFAccessor.h | ||
| bNormalized | const bool | GLTFAccessor.h | ||
| bQuantized | bool | GLTFAccessor.h | ||
| BufferView | FBufferView | GLTFAccessor.h | ||
| ByteOffset | uint64 | GLTFAccessor.h | ||
| ByteStride | const uint32 | GLTFAccessor.h | ||
| ComponentType | const EComponentType | GLTFAccessor.h | ||
| Count | const uint32 | GLTFAccessor.h | ||
| ElementSize | const uint32 | GLTFAccessor.h | ||
| NumberOfComponents | const uint32 | GLTFAccessor.h | ||
| Sparse | const FSparse | GLTFAccessor.h | ||
| Type | const EType | GLTFAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CheckAccessorTypeForDataType
(
EMeshAttributeType MeshAttributeType, |
GLTFAccessor.h | ||
bool CheckNonQuantizedComponentTypeForDataType
(
EMeshAttributeType MeshAttributeType, |
GLTFAccessor.h | ||
bool CheckQuantizedComponentTypeForDataType
(
EMeshAttributeType MeshAttributeType, |
GLTFAccessor.h | ||
const uint8 * DataAt
(
uint32 Index |
GLTFAccessor.h | ||
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). | GLTFAccessor.h | |
void GetCoordArray
(
FVector3f* Buffer |
GLTFAccessor.h | ||
float GetFloat
(
uint32 Index |
GLTFAccessor.h | ||
void GetFloatArray
(
TArray< float >& Buffer |
GLTFAccessor.h | ||
void GetFloatArray
(
float* Buffer |
GLTFAccessor.h | ||
FMD5Hash GetHash() |
GLTFAccessor.h | ||
FMatrix GetMat4
(
uint32 Index |
GLTFAccessor.h | ||
void GetMat4Array
(
FMatrix44f* Buffer |
GLTFAccessor.h | ||
void GetMat4Array
(
TArray< FMatrix44f >& Buffer |
GLTFAccessor.h | ||
void GetQuatArray
(
FVector4f* Buffer |
GLTFAccessor.h | ||
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). | GLTFAccessor.h | |
uint32 GetUnsignedInt
(
uint32 Index |
GLTFAccessor.h | ||
void GetUnsignedInt16x4
(
uint32 Index, |
GLTFAccessor.h | ||
void GetUnsignedIntArray
(
uint32* Buffer |
GLTFAccessor.h | ||
void GetUnsignedIntArray
(
TArray< uint32 >& Buffer |
GLTFAccessor.h | ||
FVector2D GetVec2
(
uint32 Index |
GLTFAccessor.h | ||
void GetVec2Array
(
TArray< FVector2f >& Buffer |
GLTFAccessor.h | ||
void GetVec2Array
(
FVector2f* Buffer |
GLTFAccessor.h | ||
FVector GetVec3
(
uint32 Index |
GLTFAccessor.h | ||
void GetVec3Array
(
TArray< FVector3f >& Buffer |
GLTFAccessor.h | ||
void GetVec3Array
(
FVector3f* Buffer |
GLTFAccessor.h | ||
FVector4 GetVec4
(
uint32 Index |
GLTFAccessor.h | ||
void GetVec4Array
(
FVector4f* Buffer |
GLTFAccessor.h | ||
void GetVec4Array
(
TArray< FVector4f >& Buffer |
GLTFAccessor.h | ||
bool IsValid() |
GLTFAccessor.h | ||
bool IsValidDataType
(
EMeshAttributeType MeshAttributeType, |
GLTFAccessor.h | ||
void UpdateArrayWithSparse
(
ItemType* Data |
GLTFAccessor.h | ||
void UpdateFloatArrayWithSparse
(
float* Data |
GLTFAccessor.h | ||
void UpdateFloatWithSparse
(
uint32 Index, |
GLTFAccessor.h | ||
void UpdateMat4WithSparse
(
uint32 Index, |
GLTFAccessor.h | ||
void UpdateUnsignedInt16x4WithSparse
(
uint32 Index, |
GLTFAccessor.h | ||
void UpdateUnsignedIntArrayWithSparse
(
uint32* Data |
GLTFAccessor.h | ||
void UpdateUnsignedIntWithSparse
(
uint32 Index, |
Sparse related helpers: | GLTFAccessor.h | |
void UpdateVec2WithSparse
(
uint32 Index, |
GLTFAccessor.h | ||
void UpdateVec3WithSparse
(
uint32 Index, |
GLTFAccessor.h | ||
void UpdateVec4WithSparse
(
uint32 Index, |
GLTFAccessor.h |