Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FStateTreePropertyBindingCompile-
References
| Module | StateTreeEditorModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreePropertyBindingCompiler.h |
| Include | #include "StateTreePropertyBindingCompiler.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreePropertyBindingCompiler.cpp |
static PRAGMA_DISABLE_DEPRECATION_WARNINGS bool ResolvePropertyPath
(
const FStateTreeBindableStructDesc & InStructDesc,
const FStateTreeEditorPropertyPath & InPath,
TArray < FStateTreePropertySegment > & OutSegments,
const FProperty *& OutLeafProperty,
int32 & OutLeafArrayIndex,
FStateTreeCompilerLog * Log,
const FStateTreeBindableStructDesc * LogContextStruct
)
Remarks
Resolves a string based property path in specified struct into segments of property names and access types. If logging is required both, Log and LogContextStruct needs to be non-null. True of the property was solved successfully.
Parameters
| Name | Description |
|---|---|
| InStructDesc | Description of the struct in which the property path is valid. |
| InPath | The property path in string format. |
| OutSegments | The resolved property access path as segments. |
| OutLeafProperty | The leaf property of the resolved path. |
| OutLeafArrayIndex | The left array index (or INDEX_NONE if not applicable) of the resolved path. |
| Log | Pointer to compiler log, or null if no logging needed. |
| LogContextStruct | Pointer to bindable struct desc where the property path belongs to. |