Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/UStateTreeEditorData > API/Plugins/StateTreeEditorModule/UStateTreeEditorData/GetAccessibleStructs
References
| Module | StateTreeEditorModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorData.h |
| Include | #include "StateTreeEditorData.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeEditorData.cpp |
void GetAccessibleStructs
(
const TConstArrayView< const UStateTreeState * > Path,
const FGuid TargetStructID,
TArray < FStateTreeBindableStructDesc > & OutStructDescs
) const
Remarks
Returns array of nodes along the execution path, up to the TargetStruct.
Parameters
| Name | Description |
|---|---|
| Path | The states to visit during the check |
| TargetStructID | The ID of the node where to stop. |
| OutStructDescs | Array of nodes accessible on the given path. |