Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/WrappedAttribute.h |
| Include | #include "Animation/WrappedAttribute.h" |
Syntax
template<typename InAllocator>
struct TWrappedAttribute
Remarks
Helper struct to wrap and templated operate raw memory
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< uint8, InAllocator > | StructMemory |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TWrappedAttribute
(
const UScriptStruct* InStruct |
Construct with allocates memory buffer according to type size |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate () |
Allocated memory buffer according to type size | |
| void | Allocate
(
const UScriptStruct* InStruct |
Allocated memory buffer according to type size | |
| TEnableIf< TIsFundamentalType< Type >::Value, Type * >::Type | GetPtr () |
Returns typed ptr to memory | |
| TEnableIfTIsFundamentalType< Type >::Value, Type * >::Type | GetPtr () |
||
| TEnableIf< TIsFundamentalType< Type >::Value, const Type * >::Type | GetPtr () |
Returns typed const ptr to memory | |
| TEnableIfTIsFundamentalType< Type >::Value, const Type * >::Type | GetPtr () |
||
| Type & | GetRef () |
||
| const Type & | GetRef () |
Returns typed const reference to memory |