ISMGraphGeneration::FConvertStateMachineToReferenceArgs¶
#include <ISMGraphGeneration.h>
Description¶
Arguments for converting an inline nested state-machine node into its own reusable state-machine-reference asset (the headless equivalent of the editor's "Convert to State Machine Reference"). The node's runtime guid is preserved. A new Blueprint asset is minted to hold the extracted graph.
Public Attributes¶
| Name | |
|---|---|
| USMGraphNode_StateMachineStateNode * | StateMachineNode |
| FString | AssetName |
| FString | AssetPath |
| TSubclassOf< USMInstance > | ParentClass |
Public Attributes Documentation¶
variable StateMachineNode¶
[Required] The inline nested state-machine node to convert. Must be a USMGraphNode_StateMachineStateNode that is not already a reference.
variable AssetName¶
[Optional] Name for the minted reference asset. Empty derives the name from the node's state name with the project's reference-name prefix, matching the editor default.
variable AssetPath¶
[Optional] Package folder for the minted asset. Empty places it alongside the source Blueprint, matching the editor default.
variable ParentClass¶
[Optional] Parent USMInstance class for the minted reference Blueprint. Null uses the state-machine Blueprint factory's default parent.