| UObjectBase
|
Module |
|
Header |
/Engine/Source/Developer/RigVMDeveloper/Public/RigVMModel/RigVMPin.h |
Include |
#include "RigVMModel/RigVMPin.h" |
class URigVMPin : public UObject
The Visual Debugging Info is used for visually displaying Data flowing through a pin. Typically this is attached to an input pin causes the pin to inject a node on the link driving it The Pin represents a single connector / pin on a node in the RigVM model. Pins can be connected based on rules. Pins also provide access to a 'PinPath', which essentially represents . separated list of names to reach the pin within the owning graph. PinPaths are unique. In comparison to the EdGraph Pin the URigVMPin supports the concept of 'SubPins', so child / parent relationships between pins. A FVector Pin for example might have its X, Y and Z components as SubPins. Array Pins will have its elements as SubPins, and so on. A URigVMPin is owned solely by a URigVMNode.
Name | Description | |
---|---|---|
|
URigVMPin() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
CanLink |
Returns true is the two provided source and target Pins can be linked to one another. |
|
|
T * |
FindObjectFromCPPTypeObjectPath ( |
Helper function to retrieve an object from a path |
|
UObject *... |
FindObjectFromCPPTypeObjectPath ( |
Helper function to retrieve an object from a path |
|
URigVMPin &#... |
FindSubPin ( |
Returns a SubPin given a name / path or nullptr. |
|
GetArrayElementCppType() |
Returns the C++ data type of an element of the Pin array. |
|
|
GetArraySize() |
Returns the number of elements within an array Pin. |
|
|
GetCPPType() |
Returns the C++ data type of the pin. |
|
|
UObject *... |
GetCPPTypeObject() |
Returns the struct of the data type of the Pin, or nullptr otherwise. |
|
GetCustomWidgetName() |
Returns the name of a custom widget to be used for editing the Pin. |
|
|
GetDefaultValue() |
Returns the default value of the Pin as a string. |
|
|
GetDefaultValue ( |
Returns the default value with an additional override ma. |
|
|
ERigVMPinDir... |
GetDirection() |
Returns the direction of the pin. |
|
GetDisplayName() |
Returns the display label of the pin. |
|
|
UEnum * |
GetEnum() |
Returns the enum of the data type of the Pin, or nullptr otherwise. |
|
URigVMGraph ... |
GetGraph() |
Returns the graph of this Pin. |
|
const TArray... |
GetInjectedNodes() |
Returns the injected nodes this pin contains. |
|
GetLinkedSourcePins ( |
Returns all of the linked source Pins, using this Pin as the target. |
|
|
GetLinkedTargetPins ( |
Returns all of the linked target Pins, using this Pin as the source. |
|
|
const TArray... |
GetLinks() |
Returns all of the links linked to this Pin. |
|
URigVMNode &... |
GetNode() |
Returns the node of this Pin. |
|
GetNumSlices ( |
Returns the number of slices in memory exist for this pin. |
|
|
URigVMPin &#... |
GetOriginalPinFromInjectedNode() |
Returns the original pin for a pin on an injected node. This can be used to determine where a link |
|
URigVMPin &#... |
GetParentPin() |
Returns the parent Pin - or nullptr if the Pin is nested directly below a node. |
|
URigVMPin &#... |
GetPinForLink() |
Returns the pin to be used for a link. |
|
GetPinIndex() |
Returns the index of the Pin within the node / parent Pin. |
|
|
GetPinPath() |
Returns a . |
|
|
URigVMPin &#... |
GetRootPin() |
Returns the top-most parent Pin, so for example for "Node.Transform.Translation.X" this returns the Pin for "Node.Transform". |
|
UScriptStruc... |
GetScriptStruct() |
Returns the struct of the data type of the Pin, or nullptr otherwise. |
|
GetSegmentPath() |
Returns a . |
|
|
GetSliceContext ( |
Returns the name of the context this pin belongs to. |
|
|
GetSourceLinks ( |
Returns all of the source pins using this Pin as the target. |
|
|
const TArray... |
GetSubPins() |
Returns all of the SubPins of this one. |
|
GetTargetLinks ( |
Returns all of the target links, using this Pin as the source. |
|
|
GetToolTipText() |
Returns the tooltip of this pin. |
|
|
HasInjectedNodes() |
Returns true if this pin has injected nodes. |
|
|
IsArray() |
Returns true if the data type of the Pin is an array. |
|
|
IsArrayElement() |
Returns true if the Pin is a SubPin within an array. |
|
|
IsDefinedAsConstant() |
Returns true if the pin is defined as a constant value / literal. |
|
|
IsDynamicArray() |
Returns true if this pin represents a dynamic array. |
|
|
IsExecuteContext() |
Returns true if the C++ data type is an execute context. |
|
|
IsExpanded() |
Returns true if the pin is currently expanded. |
|
|
IsLinkedTo ( |
Returns true if this Pin is linked to another Pin. |
|
|
IsStringType() |
||
|
IsStruct() |
Returns true if the data type of the Pin is a struct. |
|
|
IsStructMember() |
Returns true if the Pin is a SubPin within a struct. |
|
|
JoinPinPath |
Joins a PinPath from to segments, so for example ["Node", "Color", "R"] becomes "Node.Color.R". |
|
|
JoinPinPath |
Joins a PinPath from to segments, so for example "Node.Color" and "R" becomes "Node.Color.R". |
|
|
RequiresWatch() |
Returns true if the pin should be watched. |
|
|
ShowInDetailsPanelOnly() |
Returns true if the pin should not show up on a node, but in the details panel. |
|
|
SplitPinPath |
Splits a PinPath into all segments, so for example "Node.Color.R" becomes ["Node", "Color", "R"]. |
|
|
SplitPinPathAtEnd |
Splits a PinPath at the start, so for example "Node.Color.R" becomes "Node.Color" and "R". |
|
|
SplitPinPathAtStart |
Splits a PinPath at the start, so for example "Node.Color.R" becomes "Node" and "Color.R". |
Name |
Description |
---|---|
FDefaultValueOverride |
A map used to override pin default values. |