FSMTransitionConnectionValidator¶
Module: SMSystem
#include <SMNodeRules.h>
Inherits from FSMConnectionValidator
Description¶
Describe under what conditions transitions should be allowed.
Public Functions¶
Name | |
---|---|
bool | IsConnectionValid(const TSoftClassPtr< USMNodeInstance > & FromClass, const TSoftClassPtr< USMNodeInstance > & ToClass, const TSoftClassPtr< USMNodeInstance > & StateMachineClass, bool bPassOnNoRules =true) const |
Public Attributes¶
Name | |
---|---|
TArray< FSMNodeConnectionRule > | AllowedConnections |
Public Functions Documentation¶
function
IsConnectionValid¶
bool IsConnectionValid(
const TSoftClassPtr< USMNodeInstance > & FromClass,
const TSoftClassPtr< USMNodeInstance > & ToClass,
const TSoftClassPtr< USMNodeInstance > & StateMachineClass,
bool bPassOnNoRules =true
) const
Checks if this class has rules and if any of them apply.
Public Attributes Documentation¶
variable
AllowedConnections¶
If any connection rules are present at least one must be valid for this connection be allowed.