USMGraphK2Node_RuntimeNode_Base¶
Module: SMSystemEditor
Inherits from USMGraphK2Node_RootNode
Inherited by USMGraphK2Node_RuntimeNodeContainer, USMGraphK2Node_RuntimeNodeReference
Public Functions¶
Name | |
---|---|
virtual FSMNode_Base * | GetRunTimeNodeFromContainer(USMGraphK2Node_RuntimeNodeContainer * InContainer) |
virtual bool | IsCompatibleWithInstanceGraphNodeClass(TSubclassOf< USMGraphK2Node_FunctionNode_NodeInstance > InGraphNodeClass) const |
SMSYSTEMEDITOR_API USMGraphK2Node_FunctionNode_NodeInstance * | GetConnectedNodeInstanceFunction() const |
SMSYSTEMEDITOR_API USMGraphK2Node_FunctionNode_NodeInstance * | GetConnectedNodeInstanceFunctionIfValidForOptimization() const |
SMSYSTEMEDITOR_API ESMExposedFunctionExecutionType | GetGraphExecutionType() const |
virtual bool | IsConsideredForEntryConnection() const |
virtual void | ResetCachedValues() |
SMSYSTEMEDITOR_API bool | IsFastPathEnabled() const |
Protected Functions¶
Name | |
---|---|
virtual SMSYSTEMEDITOR_API UEdGraphPin * | GetCorrectEntryPin() const |
virtual SMSYSTEMEDITOR_API UEdGraphPin * | GetCorrectNodeInstanceOutputPin(USMGraphK2Node_FunctionNode_NodeInstance * InInstance) const |
Public Functions Documentation¶
function
GetRunTimeNodeFromContainer¶
inline virtual FSMNode_Base * GetRunTimeNodeFromContainer(
USMGraphK2Node_RuntimeNodeContainer * InContainer
)
Return the runtime node given a container object. When called from a container pass nullptr. When called from a reference the container must be valid or it will fail.
function
IsCompatibleWithInstanceGraphNodeClass¶
inline virtual bool IsCompatibleWithInstanceGraphNodeClass(
TSubclassOf< USMGraphK2Node_FunctionNode_NodeInstance > InGraphNodeClass
) const
If this root node is compatible with an instance function graph node. Such as OnStateBegin (USMGraphK2Node_StateEntryNode) is compatible with USMGraphK2Node_StateInstance_Begin. Called from GetGraphExecutionType.
function
GetConnectedNodeInstanceFunction¶
SMSYSTEMEDITOR_API USMGraphK2Node_FunctionNode_NodeInstance * GetConnectedNodeInstanceFunction() const
Return the immediate connected node instance function if present.
function
GetConnectedNodeInstanceFunctionIfValidForOptimization¶
SMSYSTEMEDITOR_API USMGraphK2Node_FunctionNode_NodeInstance * GetConnectedNodeInstanceFunctionIfValidForOptimization() const
Return the immediate connected node instance function only if it is completely valid for an optimization pass.
function
GetGraphExecutionType¶
Check the connected pins to the 'GetCorrectEntryPin' pin and determine the execution type.
function
IsConsideredForEntryConnection¶
If this node counts for USMGraphK2::HasAnyLogicConnections().
function
ResetCachedValues¶
Reset any cached values. Called by owning graph by default.
function
IsFastPathEnabled¶
If this node avoids the BP graph.
Protected Functions Documentation¶
function
GetCorrectEntryPin¶
Find the correct initial pin. Default implementation finds the 'Then' pin.
function
GetCorrectNodeInstanceOutputPin¶
virtual SMSYSTEMEDITOR_API UEdGraphPin * GetCorrectNodeInstanceOutputPin(
USMGraphK2Node_FunctionNode_NodeInstance * InInstance
) const
Find the expected output pin of the connected instance. Default returns 'Then' pin.