Skip to content

ISMGraphGeneration::FConfigureTransitionEventArgs

#include <ISMGraphGeneration.h>

Description

struct ISMGraphGeneration::FConfigureTransitionEventArgs;

Configuration applied to a USMGraphNode_TransitionEdge's event-binding fields. Each field is optional; unset fields leave the existing transition alone. Set fields are applied via the standard property-change pipeline (PreEditChange / PostEditChangeProperty) so the transition's own handlers run and any open Details panel refreshes. Behavior matches a user edit in the Details panel exactly.

Cascading resets in the transition's PostEditChangeProperty apply: changing DelegateOwnerInstance also resets DelegatePropertyName and DelegateOwnerClass to defaults; changing DelegateOwnerClass also resets DelegatePropertyName. To set both an owner and a name in one call, supply both fields. They are applied in owner-then-name order so the later name write survives.

Public Attributes

Name
TOptional< TEnumAsByte< ESMDelegateOwner > > DelegateOwnerInstance
TOptional< TSubclassOf< UObject > > DelegateOwnerClass
TOptional< FName > DelegatePropertyName
TOptional< bool > bEventTriggersTargetedUpdate
TOptional< bool > bEventTriggersFullUpdate

Public Attributes Documentation

variable DelegateOwnerInstance

TOptional< TEnumAsByte< ESMDelegateOwner > > DelegateOwnerInstance;

[Optional] Where the delegate to bind to lives: the SM instance itself, the context, or the previous state instance.


variable DelegateOwnerClass

TOptional< TSubclassOf< UObject > > DelegateOwnerClass;

[Optional] The class containing the delegate. Required when DelegateOwnerInstance is Context because the class cannot be discovered at edit time otherwise. Pass nullptr inside the TOptional to clear.


variable DelegatePropertyName

TOptional< FName > DelegatePropertyName;

[Optional] Name of the multicast delegate property to bind. Set to NAME_None to clear the binding. Clearing removes the spawned USMGraphK2Node_FunctionNode_TransitionEvent from the bound graph but preserves any TransitionEventReturn node the user wired additional logic into (mirrors the Details panel's clear behavior so unbind/rebind cycles retain their downstream wiring).


variable bEventTriggersTargetedUpdate

TOptional< bool > bEventTriggersTargetedUpdate;

[Optional] If the event should trigger a targeted update of the state machine limited to this transition and destination state. Propagates to existing TransitionEventReturn nodes configured to follow their owning transition's settings.


variable bEventTriggersFullUpdate

TOptional< bool > bEventTriggersFullUpdate;

[Optional] If the event should trigger a full update of the state machine. Applied after bEventTriggersTargetedUpdate. Propagates to existing TransitionEventReturn nodes configured to follow their owning transition's settings.