Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreePropertyPath
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreePropertyBindings.h |
| Include | #include "StateTreePropertyBindings.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreePropertyBindings.cpp |
bool UpdateSegmentsFromValue
(
const FStateTreeDataView BaseValueView,
FString * OutError
)
Remarks
Updates property segments from base value. The path is expected to be relative to the base value. The method updates instance types, and handles renamed properties (core redirect, Blueprint and User Defined Structs by ID). By storing the instance types on the path, we can resolve the path without the base value later. true of path could be resolved against the base value, and instance types were updated.
Parameters
| Name | Description |
|---|---|
| BaseValueView | Base value the path is relative to. |
| OutError | Optional, pointer to string where error will be logged if update fails. |