Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/EdGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- URigVMEdGraphNode
- UControlRigGraphNode
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/EdGraph/RigVMEdGraphNode.h |
| Include | #include "EdGraph/RigVMEdGraphNode.h" |
Syntax
UCLASS&40;&41;
class URigVMEdGraphNode : public UEdGraphNode
Remarks
Base class for RigVM editor side nodes
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | CopyPinDefaultsToModel
(
UEdGraphPin* Pin, |
Propagate pin defaults to underlying properties if they have changed | |
| bool | CreateGraphPinFromModelPin
(
const URigVMPin* InModelPin, |
||
| void | DestroyPinList
(
TArray< UEdGraphPin* >& InPins |
Destroy all pins in an array | |
| bool | Returns true if this node is relying on the cast template | ||
| UEdGraphPin * | FindGraphPinFromModelPin
(
const URigVMPin* InModelPin, |
||
| URigVMPin * | FindModelPinFromGraphPin
(
const UEdGraphPin* InGraphPin |
||
| URigVMBlueprint * | GetBlueprint () |
Get the blueprint that this node is contained within | |
| URigVMController * | Get the blueprint that this node is contained within | ||
| const FVector2D & | Get the cached dimensions of this node | ||
| int32 | GetInstructionIndex
(
bool bAsInput |
||
| URigVMGraph * | GetModel () |
Get the VM model this node lives within | |
| URigVMNode * | GetModelNode () |
Get the VM node this is node is wrapping | |
| FName | Get the VM node name this node is wrapping | ||
| URigVMPin * | GetModelPinFromPinPath
(
const FString& InPinPath |
||
| FLinearColor | |||
| FLinearColor | |||
| FEdGraphPinType | GetPinTypeForModelPin
(
const URigVMPin* InModelPin |
||
| UClass * | |||
| UClass * | |||
| const FRigVMTemplate * | GetTemplate () |
||
| void | HandleAddAggregateElement
(
const FString& InNodePath |
Add a new element to the aggregate node referred to by the property path | |
| void | HandleAddArrayElement
(
FString InPinPath |
Add a new array element to the array referred to by the property path | |
| void | HandleClearArray
(
FString InPinPath |
Clear the array referred to by the property path | |
| void | HandleInsertArrayElement
(
FString InPinPath |
Insert a new array element after the element referred to by the property path | |
| void | HandleRemoveArrayElement
(
FString InPinPath |
Remove the array element referred to by the property path | |
| void | Something that could change our title has changed | ||
| bool | IsPinExpanded
(
const FString& InPinPath |
Check a pin's expansion state | |
| bool | ModelPinAdded
(
const URigVMPin* InModelPin |
Called when a model pin is added after the node creation | |
| bool | ModelPinAdded_Internal
(
const URigVMPin* InModelPin |
||
| bool | ModelPinRemoved
(
const URigVMPin* InModelPin |
Called when a model pin is being removed | |
| bool | ModelPinRemoved_Internal
(
const URigVMPin* InModelPin |
||
| bool | ModelPinsChanged
(
bool bForce |
Called when there's a drastic change in the pins | |
| FNodeBeginRemoval & | |||
| FNodePinExpansionChanged & | |||
| FNodePinsChanged & | |||
| FNodeTitleDirtied & | |||
| void | Handle anything post-reconstruction | ||
| void | ReallocatePinsDuringReconstruction
(
const TArray< UEdGraphPin* >& OldPins |
Recreate pins when we reconstruct this node | |
| void | ReconstructNode_Internal
(
bool bForce |
||
| void | RemoveGraphSubPins
(
UEdGraphPin* InParentPin, |
||
| void | RewireOldPinsToNewPins
(
TArray< UEdGraphPin* >& InOldPins, |
Wire-up new pins given old pin wiring | |
| void | SetColorFromModel
(
const FLinearColor& InColor |
Sets the body + title color from a color provided by the model | |
| void | SetDimensions
(
const FVector2D& InDimensions |
Set the cached dimensions of this node | |
| void | SetupPinDefaultsFromModel
(
UEdGraphPin* Pin, |
Copies default values from underlying properties into pin defaults, for editing | |
| void | SyncGraphNodeNameWithModelNodeName
(
const URigVMNode* InModelNode |
||
| void | |||
| void | SynchronizeGraphPinExpansionWithModelPin
(
const URigVMPin* InModelPin |
||
| void | SynchronizeGraphPinNameWithModelPin
(
const URigVMPin* InModelPin, |
Synchronize the stored name/value/type on the graph pin with the value stored on the node. | |
| void | SynchronizeGraphPinTypeWithModelPin
(
const URigVMPin* InModelPin |
||
| void | SynchronizeGraphPinValueWithModelPin
(
const URigVMPin* InModelPin |
||
| void | Helper function for AllocateDefaultPins |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate default pins for a given node, based only the NodeType, which should already be filled in. | ||
| void | AutowireNewNode
(
UEdGraphPin* FromPin |
Autowire a newly created node. | |
| bool | CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* Schema |
Determine if this node can be created under the specified schema | |
| void | DestroyNode () |
Destroy the specified node | |
| FEdGraphNodeDeprecationResponse | GetDeprecationResponse
(
EEdGraphNodeDeprecationType DeprecationType |
Returns the response to use when reporting a deprecation. | |
| FSlateIcon | GetIconAndTint
(
FLinearColor& OutColor |
||
| FLinearColor | Gets the draw color of a node's body tine | ||
| void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
Gets a list of actions that can be done to this particular node | |
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar | |
| FLinearColor | Gets the draw color of a node's title bar | ||
| FText | Gets the tooltip to display when over the node | ||
| bool | IsDeprecated () |
Returns true if this node is deprecated. | |
| void | PinDefaultValueChanged
(
UEdGraphPin* Pin |
Called when the DefaultValue of one of the pins of this node is changed in the editor | |
| void | Refresh the connectors on a node, preserving as many connections as it can. | ||
| bool | ShouldDrawNodeAsControlPointOnly
(
int32& OutInputPinIndex, |
Returns whether to draw this node as a control point only (knot/reroute node). | |
| bool | Should we show the Palette Icon for this node on the node title | ||
| bool | Returns true if this node supports comment bubbles |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| bool | Test the selection state of a UObject | ||
| bool | Modify
(
bool bAlwaysMarkDirty |
Note that the object will be modified. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPinPair |
Typedefs
| Name | Description |
|---|---|
| FNodeBeginRemoval | |
| FNodePinExpansionChanged | |
| FNodePinsChanged | |
| FNodeTitleDirtied |