Skip to content

ISMGraphGeneration::FCreateTransitionEdgeArgs¶

#include <ISMGraphGeneration.h>

Description¶

struct ISMGraphGeneration::FCreateTransitionEdgeArgs;

Arguments for creating a transition between two states.

Public Attributes¶

Public Attributes Documentation¶

variable TransitionInstanceClass¶

TSubclassOf< USMTransitionInstance > TransitionInstanceClass = USMTransitionInstance::StaticClass();

[Optional] The node instance class to use.


variable FromStateNode¶

USMGraphNode_StateNodeBase * FromStateNode = nullptr;

[Required] The from state for this transition.


variable ToStateNode¶

USMGraphNode_StateNodeBase * ToStateNode = nullptr;

[Required] The destination state for this transition.


variable NodeGuid¶

FGuid NodeGuid;

[Optional] The node guid to assign. Generally best to leave invalid so it can be auto assigned.


variable bDefaultToTrue¶

bool bDefaultToTrue = false;

[Optional] Default the transition to true. Only works if no node class is assigned.