FRigVMParserAST::CanLink

Performs a cycle check for a new potential link (assign or copy) between two pins.

Windows
MacOS
Linux

References

Module

RigVMDeveloper

Header

/Engine/Source/Developer/RigVMDeveloper/Public/RigVMCompiler/RigVMAST.h

Include

#include "RigVMCompiler/RigVMAST.h"

Source

/Engine/Source/Developer/RigVMDeveloper/Private/RigVMCompiler/RigVMAST.cpp

Syntax

bool CanLink
(
    URigVMPin * InSourcePin,
    URigVMPin * InTargetPin,
    FString * OutFailureReason
)

Remarks

Performs a cycle check for a new potential link (assign or copy) between two pins.

Returns

true if the potential link (assign / copy) can be established

Parameters

Parameter

Description

InSourcePin

the source (left) pin of the potential assign / copy

InTargetPin

the target (right) pin of the potential assign / copy

OutFailureReason

an optional storage for the possible failure reason description