Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigVMLink
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMLink.h |
| Include | #include "RigVMModel/RigVMLink.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigVMLink : public UObject
Remarks
The Link represents a connection between two Pins within a Graph. The Link can be accessed on the Graph itself - or through the URigVMPin::GetLinks() method.
Constructors
| Type | Name | Description | |
|---|---|---|---|
URigVMLink () |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Detach () |
||
| URigVMGraph * | GetGraph () |
Returns the Link's owning Graph/. | |
| int32 | Returns the graph nesting depth of this link. | ||
| int32 | GetLinkIndex () |
Returns the current index of this Link within its owning Graph. | |
| URigVMPin * | GetOppositePin
(
const URigVMPin* InPin |
Returns the opposite Pin of this Link given one of its edges (or nullptr) | |
| FString | Returns a string representation of the Link, for example: "NodeA.Color.R -> NodeB.Translation.X" note: can be split again using SplitPinPathRepresentation | ||
| FString | GetPinPathRepresentation
(
const FString& InSourcePinPath, |
Returns a string representation of the Link given the two pin paths for example: "NodeA.Color.R -> NodeB.Translation.X" note: can be split again using SplitPinPathRepresentation | |
| URigVMNode * | Returns the source Node of this Link (or nullptr) | ||
| URigVMPin * | GetSourcePin () |
Returns the source Pin of this Link (or nullptr) | |
| FString | Returns the source pin's path pin of this Link. | ||
| URigVMNode * | Returns the target Node of this Link (or nullptr) | ||
| URigVMPin * | GetTargetPin () |
Returns the target Pin of this Link (or nullptr) | |
| FString | Returns the target pin's path pin of this Link. | ||
| bool | SetSourceAndTargetPinPaths
(
const FString& InSourcePinPath, |
Sets the target pin's path pin of this Link. | |
| bool | SetSourcePinPath
(
const FString& InPinPath |
Sets the source pin's path pin of this Link. | |
| bool | SetTargetPinPath
(
const FString& InPinPath |
Sets the target pin's path pin of this Link. | |
| bool | SplitPinPathRepresentation
(
const FString& InString, |
Splits a pin path representation of a link for example: "NodeA.Color.R -> NodeB.Translation.X" into its two pin paths | |
| void | |||
| void |