Skip to content

USMTransitionInstance

Module: SMSystem

#include <SMTransitionInstance.h>

Inherits from USMNodeInstance, UObject

Description

class USMTransitionInstance;

Connect states and define conditions to signal when the active state should end and the next state begin.

Public Functions

Name
USMTransitionInstance()
bool CanEnterTransition() const
images/classes/SMTransitionInstance/img/nd_img_CanEnterTransition.png
void OnTransitionEntered()
images/classes/SMTransitionInstance/img/nd_img_OnTransitionEntered.png
void OnTransitionInitialized()
images/classes/SMTransitionInstance/img/nd_img_OnTransitionInitialized.png
void OnTransitionShutdown()
images/classes/SMTransitionInstance/img/nd_img_OnTransitionShutdown.png
USMStateInstance_Base * GetPreviousStateInstance() const
images/classes/SMTransitionInstance/img/nd_img_GetPreviousStateInstance.png
USMStateInstance_Base * GetNextStateInstance() const
images/classes/SMTransitionInstance/img/nd_img_GetNextStateInstance.png
USMStateInstance_Base * GetSourceStateForActiveTransition() const
images/classes/SMTransitionInstance/img/nd_img_GetSourceStateForActiveTransition.png
USMStateInstance_Base * GetDestinationStateForActiveTransition() const
images/classes/SMTransitionInstance/img/nd_img_GetDestinationStateForActiveTransition.png
void GetTransitionInfo(FSMTransitionInfo & Transition) const
images/classes/SMTransitionInstance/img/nd_img_GetTransitionInfo.png
const FDateTime & GetServerTimestamp() const
images/classes/SMTransitionInstance/img/nd_img_GetServerTimestamp.png
bool DoesTransitionPass() const
images/classes/SMTransitionInstance/img/nd_img_DoesTransitionPass.png
bool IsTransitionFromAnyState() const
images/classes/SMTransitionInstance/img/nd_img_IsTransitionFromAnyState.png
bool IsTransitionFromLinkState() const
images/classes/SMTransitionInstance/img/nd_img_IsTransitionFromLinkState.png
bool EvaluateFromManuallyBoundEvent()
images/classes/SMTransitionInstance/img/nd_img_EvaluateFromManuallyBoundEvent.png
void GetAllTransitionStackInstances(TArray< USMTransitionInstance * > & TransitionStackInstances) const
images/classes/SMTransitionInstance/img/nd_img_GetAllTransitionStackInstances.png
USMTransitionInstance * GetTransitionInStack(int32 Index) const
images/classes/SMTransitionInstance/img/nd_img_GetTransitionInStack.png
USMTransitionInstance * GetTransitionInStackByClass(TSubclassOf< USMTransitionInstance > TransitionClass, bool bIncludeChildren =false) const
images/classes/SMTransitionInstance/img/nd_img_GetTransitionInStackByClass.png
USMTransitionInstance * GetStackOwnerInstance() const
images/classes/SMTransitionInstance/img/nd_img_GetStackOwnerInstance.png
void GetAllTransitionsInStackOfClass(TSubclassOf< USMTransitionInstance > TransitionClass, TArray< USMTransitionInstance * > & TransitionStackInstances, bool bIncludeChildren =false) const
images/classes/SMTransitionInstance/img/nd_img_GetAllTransitionsInStackOfClass.png
int32 GetTransitionIndexInStack(USMTransitionInstance * TransitionInstance) const
images/classes/SMTransitionInstance/img/nd_img_GetTransitionIndexInStack.png
int32 GetTransitionStackCount() const
images/classes/SMTransitionInstance/img/nd_img_GetTransitionStackCount.png
const FSMTransitionConnectionValidator & GetAllowedConnections() const
bool ShouldHideIconBackground() const
bool IsIconHidden() const
float GetIconLocationPercentage() const
void SetCanEvaluate(const bool bValue)
images/classes/SMTransitionInstance/img/nd_img_SetCanEvaluate.png
bool GetCanEvaluate() const
images/classes/SMTransitionInstance/img/nd_img_GetCanEvaluate.png
int32 GetPriorityOrder() const
images/classes/SMTransitionInstance/img/nd_img_GetPriorityOrder.png
void SetPriorityOrder(const int32 Value)
images/classes/SMTransitionInstance/img/nd_img_SetPriorityOrder.png
bool GetRunParallel() const
images/classes/SMTransitionInstance/img/nd_img_GetRunParallel.png
void SetRunParallel(const bool bValue)
images/classes/SMTransitionInstance/img/nd_img_SetRunParallel.png
bool GetEvalIfNextStateActive() const
images/classes/SMTransitionInstance/img/nd_img_GetEvalIfNextStateActive.png
void SetEvalIfNextStateActive(const bool bValue)
images/classes/SMTransitionInstance/img/nd_img_SetEvalIfNextStateActive.png
bool GetCanEvaluateFromEvent() const
images/classes/SMTransitionInstance/img/nd_img_GetCanEvaluateFromEvent.png
void SetCanEvaluateFromEvent(const bool bValue)
images/classes/SMTransitionInstance/img/nd_img_SetCanEvaluateFromEvent.png
bool GetCanEvalWithStartState() const
images/classes/SMTransitionInstance/img/nd_img_GetCanEvalWithStartState.png
void SetCanEvalWithStartState(const bool bValue)
images/classes/SMTransitionInstance/img/nd_img_SetCanEvalWithStartState.png
FName GetAutoPlaceTransitionIfRulesPassPropertyName()

Protected Functions

Name
virtual bool CanEnterTransition_Implementation() const
virtual void OnTransitionEntered_Implementation()
virtual void OnTransitionInitialized_Implementation()
virtual void OnTransitionShutdown_Implementation()

Public Attributes

Name
FOnTransitionEnteredSignature OnTransitionEnteredEvent

Protected Attributes

Name
FSMTransitionConnectionValidator ConnectionRules
uint8 bAutoPlaceTransitionIfRulesPass
uint8 bShowBackgroundOnCustomIcon
uint8 bHideIcon
float IconLocationPercentage

Friends

Name
class USMGraphNode_TransitionEdge

Additional inherited members

Public Functions inherited from USMNodeInstance

Name
USMNodeInstance()
virtual void Serialize(FArchive & Ar) override
virtual UWorld * GetWorld() const override
virtual void BeginDestroy() override
virtual UObject * GetContext() const override
images/classes/SMNodeInstance/img/nd_img_GetContext.png
virtual void NativeInitialize()
virtual void NativeShutdown()
void OnRootStateMachineStart()
images/classes/SMNodeInstance/img/nd_img_OnRootStateMachineStart.png
void OnRootStateMachineStop()
images/classes/SMNodeInstance/img/nd_img_OnRootStateMachineStop.png
void RunConstructionScript()
bool ShouldSkipNativeEditorConstructionScripts() const
USMInstance * GetStateMachineInstance(bool bTopMostInstance =false) const
images/classes/SMNodeInstance/img/nd_img_GetStateMachineInstance.png
void SetOwningNode(FSMNode_Base * Node, bool bInIsEditorExecution =false)
const FSMNode_Base * GetOwningNode() const
T * GetOwningNodeAs() const
virtual const FSMNode_Base * GetOwningNodeContainer() const
USMStateMachineInstance * GetOwningStateMachineNodeInstance() const
images/classes/SMNodeInstance/img/nd_img_GetOwningStateMachineNodeInstance.png
TScriptInterface< ISMStateMachineNetworkedInterface > GetNetworkInterface() const
images/classes/SMNodeInstance/img/nd_img_GetNetworkInterface.png
virtual float GetTimeInState() const
images/classes/SMNodeInstance/img/nd_img_GetTimeInState.png
virtual bool IsInEndState() const
virtual bool HasUpdated() const
images/classes/SMNodeInstance/img/nd_img_HasUpdated.png
bool IsActive() const
images/classes/SMNodeInstance/img/nd_img_IsActive.png
const FString & GetNodeName() const
images/classes/SMNodeInstance/img/nd_img_GetNodeName.png
const FGuid & GetGuid() const
images/classes/SMNodeInstance/img/nd_img_GetGuid.png
UTexture2D * GetNodeIcon() const
images/classes/SMNodeInstance/img/nd_img_GetNodeIcon.png
FVector2D GetNodeIconSize() const
images/classes/SMNodeInstance/img/nd_img_GetNodeIconSize.png
FLinearColor GetNodeIconTintColor() const
images/classes/SMNodeInstance/img/nd_img_GetNodeIconTintColor.png
void EvaluateGraphProperties(bool bTargetOnly =false)
images/classes/SMNodeInstance/img/nd_img_EvaluateGraphProperties.png
const FGuid & GetTemplateGuid() const
const FVector2D & GetNodePosition() const
images/classes/SMNodeInstance/img/nd_img_GetNodePosition.png
bool IsInitialized() const
images/classes/SMNodeInstance/img/nd_img_IsInitialized.png
bool IsInitializedAndReadyForInputEvents() const
FSMGraphProperty * FindExposedPropertyOverrideByName(const FName & VariableName) const
virtual void PostEditChangeProperty(FPropertyChangedEvent & PropertyChangedEvent) override
bool WasArrayPropertyModified(const FName & PropertyName) const
bool IsNodePinChanging() const
void SetDisplayName(FName NewDisplayName)
images/classes/SMNodeInstance/img/nd_img_SetDisplayName.png
void SetNodeDescriptionText(FText NewDescription)
images/classes/SMNodeInstance/img/nd_img_SetNodeDescriptionText.png
FText GetNodeDescriptionText() const
images/classes/SMNodeInstance/img/nd_img_GetNodeDescriptionText.png
void SetNodeColor(FLinearColor NewColor)
images/classes/SMNodeInstance/img/nd_img_SetNodeColor.png
void SetUseCustomColor(bool bValue)
images/classes/SMNodeInstance/img/nd_img_SetUseCustomColor.png
void SetUseCustomIcon(bool bValue)
images/classes/SMNodeInstance/img/nd_img_SetUseCustomIcon.png
void SetVariableReadOnly(FName VariableName, bool bSetIsReadOnly)
images/classes/SMNodeInstance/img/nd_img_SetVariableReadOnly.png
void SetVariableHidden(FName VariableName, bool bSetHidden)
images/classes/SMNodeInstance/img/nd_img_SetVariableHidden.png
bool IsEditorExecution() const
images/classes/SMNodeInstance/img/nd_img_IsEditorExecution.png
void WithExecutionEnvironment(ESMExecutionEnvironment & ExecutionEnvironment)
images/classes/SMNodeInstance/img/nd_img_WithExecutionEnvironment.png
TScriptInterface< ISMEditorGraphNodeInterface > GetOwningEditorGraphNode() const
images/classes/SMNodeInstance/img/nd_img_GetOwningEditorGraphNode.png
void K2_TryGetOwningEditorGraphNode(TScriptInterface< ISMEditorGraphNodeInterface > & EditorNode, ESMValidEditorNode & IsValidNode) const
images/classes/SMNodeInstance/img/nd_img_K2_TryGetOwningEditorGraphNode.png
bool IsInitializationThreadSafe() const
void ResetVariables()
images/classes/SMNodeInstance/img/nd_img_ResetVariables.png
bool GetResetVariablesOnInitialize() const
bool HasCustomColor() const
const FLinearColor & GetNodeColor() const
const FSMNodeDescription & GetNodeDescription() const
bool HasCustomIcon() const
FString GetNodeDisplayName() const
void SetTemplateGuid(const FGuid & NewTemplateGuid)
void SetIsThreadSafe(bool bNewValue)
void SetIsEditorThreadSafe(const bool bNewValue)
bool GetIsEditorThreadSafe() const
TEnumAsByte< ESMNodeInput::Type > GetInputType() const
int32 GetInputPriority() const
bool GetBlockInput() const
UInputComponent * GetInputComponent() const
images/classes/SMNodeInstance/img/nd_img_GetInputComponent.png
FName GetConstructionScriptFunctionName()
FName GetNodeDescriptionPropertyName()
FName GetHideFromDropDownIfRulesFailPropertyName()

Protected Functions inherited from USMNodeInstance

Name
virtual void OnRootStateMachineStart_Implementation()
virtual void OnRootStateMachineStop_Implementation()
void ConstructionScript()
images/classes/SMNodeInstance/img/nd_img_ConstructionScript.png
FSMGraphProperty * FindOrAddExposedPropertyOverrideByName(const FName & VariableName)
void OnPreCompileValidate(USMCompilerLog * CompilerLog) const
virtual void OnPreCompileValidate_Implementation(USMCompilerLog * CompilerLog) const
virtual void ConstructionScript_Implementation()
virtual UTexture2D * GetNodeIcon_Implementation() const
virtual FVector2D GetNodeIconSize_Implementation() const
virtual FLinearColor GetNodeIconTintColor_Implementation() const
void EnableInput()
Input.
void DisableInput()
void OnContextPawnControllerChanged(APawn * Pawn, AController * NewController)

Public Attributes inherited from USMNodeInstance

Name
TArray< FSMGraphProperty > ExposedPropertyOverrides
uint8 bEvalDefaultProperties
uint8 bAutoEvalExposedProperties

Protected Attributes inherited from USMNodeInstance

Name
bool bSkipNativeEditorConstructionScripts
TObjectPtr< UTexture2D > NodeIcon
FVector2D NodeIconSize
FLinearColor NodeIconTintColor
bool bResetVariablesOnInitialize
FSMNodeDescription NodeDescription
FLinearColor NodeColor
uint8 bDisplayCustomIcon
uint8 bUseCustomColors
uint8 bHideFromDropDownIfRulesFail
TObjectPtr< UInputComponent > InputComponent
TEnumAsByte< ESMNodeInput::Type > AutoReceiveInput
int32 InputPriority
uint8 bBlockInput

Friends inherited from USMNodeInstance

Name
class USMGraphNode_StateNode
struct FSMNode_Base(FSMNode_Base )
class USMGraphNode_Base
class USMGraphK2Node_PropertyNode_Base

Public Functions Documentation

function USMTransitionInstance

USMTransitionInstance()

function CanEnterTransition

bool CanEnterTransition() const

images/classes/SMTransitionInstance/img/nd_img_CanEnterTransition.png

Conditional check to determine if the transition can be taken.


function OnTransitionEntered

void OnTransitionEntered()

images/classes/SMTransitionInstance/img/nd_img_OnTransitionEntered.png

Called when this transition has been evaluated and taken.


function OnTransitionInitialized

void OnTransitionInitialized()

images/classes/SMTransitionInstance/img/nd_img_OnTransitionInitialized.png

Called after the state leading to this node is initialized but before OnStateBegin.


function OnTransitionShutdown

void OnTransitionShutdown()

images/classes/SMTransitionInstance/img/nd_img_OnTransitionShutdown.png

Called after the state leading to this node has run OnStateEnd but before it has called its shutdown sequence.


function GetPreviousStateInstance

USMStateInstance_Base * GetPreviousStateInstance() const

images/classes/SMTransitionInstance/img/nd_img_GetPreviousStateInstance.png

The state this transition leaves from.


function GetNextStateInstance

USMStateInstance_Base * GetNextStateInstance() const

images/classes/SMTransitionInstance/img/nd_img_GetNextStateInstance.png

The state this transition leads to.


function GetSourceStateForActiveTransition

USMStateInstance_Base * GetSourceStateForActiveTransition() const

images/classes/SMTransitionInstance/img/nd_img_GetSourceStateForActiveTransition.png

Return the state that last triggered this transition. This may be a state prior to a transition conduit. This will be valid during OnTransitionEntered().

Return: The first state to trigger this transition chain or null.


function GetDestinationStateForActiveTransition

USMStateInstance_Base * GetDestinationStateForActiveTransition() const

images/classes/SMTransitionInstance/img/nd_img_GetDestinationStateForActiveTransition.png

Return the destination state we are transitioning to or last transitioned to. This may be a state after a transition conduit. This will be valid during OnTransitionEntered().

Return: The final state after the transition chain or null.


function GetTransitionInfo

void GetTransitionInfo(
    FSMTransitionInfo & Transition
) const

images/classes/SMTransitionInstance/img/nd_img_GetTransitionInfo.png

Return read only information about the owning transition.


function GetServerTimestamp

const FDateTime & GetServerTimestamp() const

images/classes/SMTransitionInstance/img/nd_img_GetServerTimestamp.png

Return the last server timestamp of this transition. If not networked this won't be set.


function DoesTransitionPass

bool DoesTransitionPass() const

images/classes/SMTransitionInstance/img/nd_img_DoesTransitionPass.png

Evaluates the transition's local graph which usually calls CanEnterTransition() of this instance. This is equivalent to the state machine determining if a transition succeeds.

This is best used from an external caller when checking a transition result.

Return: The transition result.

Warning:

Do NOT call this from within CanEnterTransition() of the instance or the local graph or you may trigger an infinite loop.


function IsTransitionFromAnyState

bool IsTransitionFromAnyState() const

images/classes/SMTransitionInstance/img/nd_img_IsTransitionFromAnyState.png

If the transition was created by an Any State.

Return: True if the transition was copied from an Any State.


function IsTransitionFromLinkState

bool IsTransitionFromLinkState() const

images/classes/SMTransitionInstance/img/nd_img_IsTransitionFromLinkState.png

If the transition was created by a Link State.

Return: True if the transition was copied from a Link State.


function EvaluateFromManuallyBoundEvent

bool EvaluateFromManuallyBoundEvent()

images/classes/SMTransitionInstance/img/nd_img_EvaluateFromManuallyBoundEvent.png

Efficiently evaluate and take the transition immediately. If the transition's CanEnterTransition method returns true the entire transition chain this transition is part of will be evaluated and taken. Super state and parallel transitions will not evaluate when this method is called.

Steps this method performs:

  1. Enables SetCanEvaluate for this transition.
  2. Calls EvaluateAndTakeTransitionChain from the owning state machine instance.
  3. Sets SetCanEvaluate back to the original value.

Use at the end of execution from manually bound events.

Return: True if the transition was taken.


function GetAllTransitionStackInstances

void GetAllTransitionStackInstances(
    TArray< USMTransitionInstance * > & TransitionStackInstances
) const

images/classes/SMTransitionInstance/img/nd_img_GetAllTransitionStackInstances.png

Retrieve all transition instances in the transition stack.

Parameters:

TransitionStackInstances
[Out] Transition stack instances in their correct order.

function GetTransitionInStack

USMTransitionInstance * GetTransitionInStack(
    int32 Index
) const

images/classes/SMTransitionInstance/img/nd_img_GetTransitionInStack.png

Retrieve a transition instance from within the transition stack.

Parameters:

Index
the index of the array.

Return: the transition if the index is valid.


function GetTransitionInStackByClass

USMTransitionInstance * GetTransitionInStackByClass(
    TSubclassOf< USMTransitionInstance > TransitionClass,
    bool bIncludeChildren =false
) const

images/classes/SMTransitionInstance/img/nd_img_GetTransitionInStackByClass.png

Retrieve the first stack instance of a given class.

Parameters:

TransitionClass
The transition class to search for.
bIncludeChildren
If children of the given class can be included.

Return: the first transition that matches the class.


function GetStackOwnerInstance

USMTransitionInstance * GetStackOwnerInstance() const

images/classes/SMTransitionInstance/img/nd_img_GetStackOwnerInstance.png

Retrieve the owning node instance of a transition stack. If this is called from the main node instance it will return itself.


function GetAllTransitionsInStackOfClass

void GetAllTransitionsInStackOfClass(
    TSubclassOf< USMTransitionInstance > TransitionClass,
    TArray< USMTransitionInstance * > & TransitionStackInstances,
    bool bIncludeChildren =false
) const

images/classes/SMTransitionInstance/img/nd_img_GetAllTransitionsInStackOfClass.png

Retrieve all transitions that match the given class.

Parameters:

TransitionClass
The transition class to search for.
bIncludeChildren
If children of the given class can be included.
TransitionStackInstances
[Out] Transition stack instances matching the given class.

function GetTransitionIndexInStack

int32 GetTransitionIndexInStack(
    USMTransitionInstance * TransitionInstance
) const

images/classes/SMTransitionInstance/img/nd_img_GetTransitionIndexInStack.png

Retrieve the index of a transition stack instance. O(n).

Parameters:

TransitionInstance
The transition instance to lookup in the stack.

Return: The index of the transition in the stack. -1 if not found or is the base transition instance.


function GetTransitionStackCount

int32 GetTransitionStackCount() const

images/classes/SMTransitionInstance/img/nd_img_GetTransitionStackCount.png

The total number of transitions in the transition stack.


function GetAllowedConnections

inline const FSMTransitionConnectionValidator & GetAllowedConnections() const

function ShouldHideIconBackground

inline bool ShouldHideIconBackground() const

function IsIconHidden

inline bool IsIconHidden() const

function GetIconLocationPercentage

inline float GetIconLocationPercentage() const

function SetCanEvaluate

void SetCanEvaluate(
    const bool bValue
)

images/classes/SMTransitionInstance/img/nd_img_SetCanEvaluate.png

Sets whether this node is allowed to evaluate or not.


function GetCanEvaluate

bool GetCanEvaluate() const

images/classes/SMTransitionInstance/img/nd_img_GetCanEvaluate.png

Check whether this transition is allowed to evaluate.


function GetPriorityOrder

int32 GetPriorityOrder() const

images/classes/SMTransitionInstance/img/nd_img_GetPriorityOrder.png

Public getter for PriorityOrder.


function SetPriorityOrder

void SetPriorityOrder(
    const int32 Value
)

images/classes/SMTransitionInstance/img/nd_img_SetPriorityOrder.png

Public setter for PriorityOrder. Only valid from the editor construction script.


function GetRunParallel

bool GetRunParallel() const

images/classes/SMTransitionInstance/img/nd_img_GetRunParallel.png

Public getter for bRunParallel.


function SetRunParallel

void SetRunParallel(
    const bool bValue
)

images/classes/SMTransitionInstance/img/nd_img_SetRunParallel.png

Public setter for bRunParallel.


function GetEvalIfNextStateActive

bool GetEvalIfNextStateActive() const

images/classes/SMTransitionInstance/img/nd_img_GetEvalIfNextStateActive.png

Public getter for bEvalIfNextStateActive.


function SetEvalIfNextStateActive

void SetEvalIfNextStateActive(
    const bool bValue
)

images/classes/SMTransitionInstance/img/nd_img_SetEvalIfNextStateActive.png

Public setter for bEvalIfNextStateActive.


function GetCanEvaluateFromEvent

bool GetCanEvaluateFromEvent() const

images/classes/SMTransitionInstance/img/nd_img_GetCanEvaluateFromEvent.png

Public getter for bCanEvaluateFromEvent.


function SetCanEvaluateFromEvent

void SetCanEvaluateFromEvent(
    const bool bValue
)

images/classes/SMTransitionInstance/img/nd_img_SetCanEvaluateFromEvent.png

Public setter for bCanEvaluateFromEvent.


function GetCanEvalWithStartState

bool GetCanEvalWithStartState() const

images/classes/SMTransitionInstance/img/nd_img_GetCanEvalWithStartState.png

Public getter for bCanEvalWithStartState.


function SetCanEvalWithStartState

void SetCanEvalWithStartState(
    const bool bValue
)

images/classes/SMTransitionInstance/img/nd_img_SetCanEvalWithStartState.png

Public setter for bCanEvalWithStartState.


function GetAutoPlaceTransitionIfRulesPassPropertyName

static inline FName GetAutoPlaceTransitionIfRulesPassPropertyName()

Protected Functions Documentation

function CanEnterTransition_Implementation

inline virtual bool CanEnterTransition_Implementation() const

function OnTransitionEntered_Implementation

inline virtual void OnTransitionEntered_Implementation()

function OnTransitionInitialized_Implementation

inline virtual void OnTransitionInitialized_Implementation()

function OnTransitionShutdown_Implementation

inline virtual void OnTransitionShutdown_Implementation()

Public Attributes Documentation

variable OnTransitionEnteredEvent

FOnTransitionEnteredSignature OnTransitionEnteredEvent;

Called when this transition has been entered from the previous state.


Protected Attributes Documentation

variable ConnectionRules

FSMTransitionConnectionValidator ConnectionRules;

Define what types of connections are allowed. Default is all.


variable bAutoPlaceTransitionIfRulesPass

uint8 bAutoPlaceTransitionIfRulesPass;

Automatically place the transition when a connection rule passes.


variable bShowBackgroundOnCustomIcon

uint8 bShowBackgroundOnCustomIcon;

Allow the icon background brush to be displayed for custom icons.


variable bHideIcon

uint8 bHideIcon;

Completely hide the transition icon. If the connection is hovered or selected it will become visible.


variable IconLocationPercentage

float IconLocationPercentage;

Set the position of the icon along the connection.


Private Attributes Documentation

variable PriorityOrder

int32 PriorityOrder;

Lower number transitions will be evaluated first.


variable bRunParallel

uint8 bRunParallel;

If this transition evaluates to true it will not prevent the next transition in the priority sequence from being evaluated. This allows the possibility for multiple active states. Transitions from Conduit nodes are not supported.


variable bEvalIfNextStateActive

uint8 bEvalIfNextStateActive;

Should the transition evaluate if already connecting to an active state.


variable bCanEvaluate

uint8 bCanEvaluate;

If this transition is allowed to evaluate conditionally.


variable bCanEvaluateFromEvent

uint8 bCanEvaluateFromEvent;

If this transition can evaluate from auto-bound events.


variable bCanEvalWithStartState

uint8 bCanEvalWithStartState;

Setting to false forces this transition to never evaluate on the same tick as OnStateBegin. Only used if this transition's from state has bEvalTransitionsOnStart set to true.


Friends

friend USMGraphNode_TransitionEdge

friend class USMGraphNode_TransitionEdge(
    USMGraphNode_TransitionEdge 
);