Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include | #include "StateTreeTypes.h" |
Syntax
struct FStateTreeDataView
Remarks
Short lived pointer to an UOBJECT() or USTRUCT(). The data view expects a type (UStruct) when you pass in a valid memory. In case of null, the type can be empty too.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8 * | Memory | Memory pointing at the class or struct | |
| const UStruct * | Struct | UClass or UScriptStruct of the data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeDataView
(
UObject* Object |
UOBJECT() constructor. | ||
FStateTreeDataView
(
FStructView StructView |
USTRUCT() from a StructView. | ||
FStateTreeDataView
(
const UStruct* InStruct, |
USTRUCT() constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TEnableIf::IsDerived &&!TIsIInterface< T >::Value, constT & >:... | Get () |
USTRUCT() getters (reference & pointer, const & mutable) | |
| TEnableIf< TIsIInterface< T >::Value, constT & >::Type | Get () |
IInterface() getters (reference & pointer, const & mutable) | |
| TEnableIf< TIsDerivedFrom< T, UObject >::IsDerived, constT & >::Type | Get () |
UOBJECT() getters (reference & pointer, const & mutable) | |
| const uint8 * | GetMemory () |
||
| TEnableIf< TIsDerivedFrom< T, UObject >::IsDerived, T & >::Type | GetMutable () |
||
| TEnableIf::IsDerived &&!TIsIInterface< T >::Value, T & >::Type | GetMutable () |
||
| TEnableIf< TIsIInterface< T >::Value, T & >::Type | GetMutable () |
||
| uint8 * | |||
| TEnableIf< TIsDerivedFrom< T, UObject >::IsDerived, T * >::Type | |||
| TEnableIf::IsDerived &&!TIsIInterface< T >::Value, T * >::... | |||
| TEnableIf< TIsIInterface< T >::Value, T * >::Type | |||
| TEnableIf::IsDerived &&!TIsIInterface< T >::Value, constT *... | GetPtr () |
||
| TEnableIf< TIsDerivedFrom< T, UObject >::IsDerived, constT * >::Type | GetPtr () |
||
| TEnableIf< TIsIInterface< T >::Value, constT * >::Type | GetPtr () |
||
| const UStruct * | GetStruct () |
||
| bool | IsValid () |
Check is the view is valid (both pointer and type are set). |