Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/StructUtils/Source/StructUtils/Public/InstancedStruct.h |
Include |
#include "InstancedStruct.h" |
USTRUCT()
struct FInstancedStruct
FInstancedStruct works similarly as instanced UObject* property but is USTRUCTs. Example:
FInstancedStruct Test;
TArray<FInstancedStruct> TestArray;
Name | Description | ||
---|---|---|---|
|
const UScriptSt... |
ScriptStruct |
|
|
const uint8 ... |
StructMemory |
Name | Description | |
---|---|---|
|
FInstancedStruct() |
|
|
FInstancedStruct ( |
|
|
FInstancedStruct ( |
|
|
FInstancedStruct ( |
|
|
FInstancedStruct ( |
|
|
FInstancedStruct ( |
Name | Description | |
---|---|---|
|
~FInstancedStruct() |
Name | Description | ||
---|---|---|---|
|
AddStructReferencedObjects ( |
||
|
DestroyScriptStruct() |
||
|
ExportTextItem ( |
||
|
const T & |
Get() |
Returns const reference to the struct, this getter assumes that all data is valid. |
|
const uint8 ... |
GetMemory() |
Returns const pointer to struct memory. |
|
T & |
GetMutable() |
Returns mutable reference to the struct, this getter assumes that all data is valid. |
|
uint8 * |
GetMutableMemory() |
Returns a mutable pointer to struct memory. |
|
T * |
GetMutablePtr() |
Returns mutable pointer to the struct, or nullptr if cast is not valid. |
|
const T *... |
GetPtr() |
Returns const pointer to the struct, or nullptr if cast is not valid. |
|
const UScrip... |
GetScriptStruct() |
Returns struct type. |
|
Identical ( |
||
|
ImportTextItem ( |
||
|
InitializeAs ( |
Initializes from struct type and optional data. |
|
|
InitializeAs ( |
Initializes from struct type and emplace construct. |
|
|
IsValid() |
Returns True if the struct is valid. |
|
|
FInstancedSt... |
Make ( |
Creates a new FInstancedStruct from the templated type and forward all arguments to constructor. |
|
FInstancedSt... |
Make ( |
Creates a new FInstancedStruct from templated struct. |
|
FInstancedSt... |
Make() |
Creates a new FInstancedStruct from templated struct type. |
|
UScriptStruc... |
ReinitializeAs ( |
Initializes for new struct type (does nothing if same type) and returns mutable struct. |
|
Reset() |
Reset to empty. |
|
|
ResetStructData() |
||
|
Serialize ( |
For StructOpsTypeTraits |
|
|
SetStructData ( |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
FInstancedSt... |
operator= ( |
|
|
FInstancedSt... |
operator= ( |
|
|
FInstancedSt... |
operator= ( |
|
|
operator== ( |
Comparison operators. it does not compare the internal structure itself |