Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreePropertyBindings.h |
| Include | #include "StateTreePropertyBindings.h" |
Syntax
USTRUCT ()
struct FStateTreePropertyPath
Remarks
Representation of a property path used for property binding in StateTree.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreePropertyPath
(
const FGuid InStructID |
|||
FStateTreePropertyPath
(
const FGuid InStructID, |
|||
FStateTreePropertyPath
(
const FGuid InStructID, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPathSegment
(
const FName InName, |
Adds a path segment to the path. | |
| void | AddPathSegment
(
const FStateTreePropertyPathSegment& PathSegment |
Adds a path segment to the path. | |
| bool | FromString
(
const FString& InPath |
Parses path from string. The path should be in format: Foo.Bar[1].Baz | |
| TArrayView< FStateTreePropertyPathSegment > | |||
| const FStateTreePropertyPathSegment & | GetSegment
(
const int32 Index |
||
| TConstArrayView< FStateTreePropertyPathSegment > | GetSegments () |
||
| const FGuid & | GetStructID () |
||
| bool | |||
| bool |
Includes
(
const FStateTreePropertyPath& Other |
Test if this paths includes the provided path. | |
| bool | IsPathEmpty () |
||
| int32 | NumSegments () |
||
| void | Reset () |
Reset the path to empty. | |
| bool | ResolveIndirections
(
const UStruct* BaseStruct, |
Resolves the property path against base struct type. | |
| bool | ResolveIndirectionsWithValue
(
const FStateTreeDataView BaseValueView, |
Resolves the property path against base value. | |
| void | SetStructID
(
const FGuid NewStructID |
||
| FString | Returns the property path as a one string. Highlight allows to decorate a specific segment. | ||
| bool | UpdateInstanceStructsFromValue
(
const FStateTreeDataView BaseValueView, |
||
| bool | UpdateSegments
(
const UStruct* BaseStruct, |
Updates property segments from base struct type. | |
| bool | UpdateSegmentsFromValue
(
const FStateTreeDataView BaseValueView, |
Updates property segments from base value. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FStateTreePropertyPath& RHS |
Test if paths are equal. |