FSMStateMachineNodePlacementValidator¶
Module: SMSystem
#include <SMNodeRules.h>
Inherits from FSMConnectionValidator
Description¶
Describe under what conditions nodes are allowed to be placed.
Public Functions¶
| Name | |
|---|---|
| FSMStateMachineNodePlacementValidator() | |
| bool | IsStateAllowed(const TSoftClassPtr< USMNodeInstance > & StateClass) const |
| bool | IsTransitionAllowed(const TSoftClassPtr< USMNodeInstance > & TransitionClass) const |
Public Attributes¶
| Name | |
|---|---|
| TArray< FSMStateClassRule > | AllowedStates |
| TArray< FSMTransitionClassRule > | AllowedTransitions |
| bool | bAllowReferences |
| bool | bAllowParents |
| bool | bAllowSubStateMachines |
| TSoftClassPtr< USMStateMachineInstance > | DefaultSubStateMachineClass |
Public Functions Documentation¶
function FSMStateMachineNodePlacementValidator¶
function IsStateAllowed¶
Checks if this state can be placed in this state machine.
function IsTransitionAllowed¶
Checks if this transition can be placed in this state machine.
Public Attributes Documentation¶
variable AllowedStates¶
States that can be placed in this state machine. This restricts which items show up in the graph context menu and node class drop down. None implies all are allowed.
variable AllowedTransitions¶
Transitions that can be placed in this state machine. This restricts which items show up in the node class drop down. None implies all are allowed.
variable bAllowReferences¶
Restricts the placement of state machine references within this state machine.
variable bAllowParents¶
Restricts the placement of state machine parents within this state machine.
variable bAllowSubStateMachines¶
Allow sub state machines to be added or collapsed.
variable DefaultSubStateMachineClass¶
The default state machine class to assign when adding or collapsing a state machine.