Navigation
API > API/Plugins > API/Plugins/StateTreeModule
FStateTreeBlueprintPropertyRef is a PropertyRef intended to be used in State Tree Blueprint nodes like tasks, conditions or evaluators, but also as a StateTree parameter.
| Name | FStateTreeBlueprintPropertyRef |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreePropertyRef.h |
| Include Path | #include "StateTreePropertyRef.h" |
Syntax
USTRUCT (BlueprintType , DisplayName="State Tree Property Ref")
struct FStateTreeBlueprintPropertyRef : public FStateTreePropertyRef
Inheritance Hierarchy
- FStateTreePropertyRef → FStateTreeBlueprintPropertyRef
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStateTreeBlueprintPropertyRef() |
StateTreePropertyRef.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsOptional | uint8 | If specified, the reference can be left unbound, otherwise the State Tree compiler report error if the reference is not bound. | StateTreePropertyRef.h |
|
| bIsRefToArray | uint8 | If specified, the reference is to an TArray |
StateTreePropertyRef.h |
|
| RefType | EStateTreePropertyRefType | Specifies the type of property to reference | StateTreePropertyRef.h |
|
| TypeObject | TObjectPtr< UObject > | Specifies the type of property to reference together with RefType, used for Enums, Structs, Objects and Classes. | StateTreePropertyRef.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EStateTreePropertyRefType GetRefType() |
Returns PropertyRef's type | StateTreePropertyRef.h | |
UObject * GetTypeObject() |
Returns selected ScriptStruct, Class or Enum. | StateTreePropertyRef.h | |
bool IsOptional() |
Returns true if PropertyRef was marked as optional. | StateTreePropertyRef.h | |
bool IsRefToArray() |
Returns true if referenced property is an array. | StateTreePropertyRef.h |