Navigation
API > API/Plugins > API/Plugins/AnimNext
Transform Array Test using StructOfArrays model
| Name | TTransformArraySoA |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/TransformArray.h |
| Include Path | #include "TransformArray.h" |
Syntax
template<typename AllocatorType>
struct TTransformArraySoA
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTransformArraySoA
(
TTransformArraySoA&& Other |
TransformArray.h | ||
| Default empty (no memory) Transform. | TransformArray.h | ||
TTransformArraySoA
(
const TTransformArraySoA& Other |
TransformArray.h | ||
TTransformArraySoA
(
int NumTransforms, |
Create a TransformArray of N elements. Optionally initializes to identity (default) | TransformArray.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TTransformArraySoA() |
TransformArray.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PaddingSize | int32 | We add a bit of padding at the end of our buffer to allow 32-byte wide load/stores without the risk of triggering access exceptions | TransformArray.h |
| TransformSize | int32 | TransformArray.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Rotations | TArrayView< FQuat > | TransformArray.h | ||
| Scales3D | TArrayView< FVector > | TransformArray.h | ||
| Translations | TArrayView< FVector > | TransformArray.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatedMemory | TArray< uint8, AllocatorType > | TransformArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Blend
(
const TTransformArraySoA& AtomArray1, |
Set this transform array to the weighted blend of the supplied two transforms. | TransformArray.h | |
bool ContainsNaN() |
TransformArray.h | ||
void CopyTransforms
(
const FTransformArraySoAConstView& Other, |
TransformArray.h | ||
void CopyTransforms
(
const TTransformArraySoA& Other, |
TransformArray.h | ||
void DebugFill() |
Sets the whole array to 0xCDCDCDCD to aid debugging. | TransformArray.h | |
void Empty
(
int32 Slack |
TransformArray.h | ||
FTransformArraySoAConstView GetConstView() |
TransformArray.h | ||
FTransformArraySoAView GetView() |
TransformArray.h | ||
bool IsEmpty() |
TransformArray.h | ||
bool IsValid() |
TransformArray.h | ||
int32 Num() |
TransformArray.h | ||
void Reset
(
int32 NumTransforms |
TransformArray.h | ||
void SetIdentity
(
bool bAdditiveIdentity |
TransformArray.h | ||
void SetNum
(
int32 NumTransforms, |
TransformArray.h | ||
void SetNumUninitialized
(
int32 NumTransforms, |
TransformArray.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DiagnosticCheckNaN_Rotate
(
const FQuat& Rotation |
TransformArray.h | ||
static void DiagnosticCheckNaN_Scale3D
(
const FVector& Scale3D |
TransformArray.h | ||
static void DiagnosticCheckNaN_Translate
(
const FVector& Translation |
TransformArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransformSoAAdapter operator[]
(
int Index |
TransformArray.h | ||
const FTransformSoAAdapterConst operator[]
(
int Index |
TransformArray.h | ||
TTransformArraySoA & operator=
(
const TTransformArraySoA& Other |
TransformArray.h | ||
TTransformArraySoA & operator=
(
TTransformArraySoA&& Other |
TransformArray.h |