Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/EdGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphSchema
- URigVMEdGraphSchema
- UControlRigGraphSchema
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/EdGraph/RigVMEdGraphSchema.h |
| Include | #include "EdGraph/RigVMEdGraphSchema.h" |
Syntax
UCLASS&40;&41;
class URigVMEdGraphSchema : public UEdGraphSchema
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AutowireNewNode
(
URigVMEdGraphNode* NewNode, |
||
| URigVMEdGraphNode * | CreateGraphNode
(
URigVMEdGraph* InGraph, |
Create a graph node for a rig | |
| void | EndGraphNodeInteraction
(
UEdGraphNode* InNode |
||
| TSubclassOf< URigVMEdGraphNode > | GetGraphNodeClass
(
const URigVMEdGraph* InGraph |
Allow derived classes to spawn derived node classes. | |
| FVector2D | GetNodePositionAtStartOfInteraction
(
const UEdGraphNode* InNode |
||
| TArray< UEdGraphNode * > | GetNodesToMoveForNode
(
UEdGraphNode* InNode |
||
| const FName & | |||
| void | GetVariablePinTypes
(
TArray< FEdGraphPinType >& PinTypes |
Returns all of the applicable pin types for variables within a rigvm host | |
| void | HandleModifiedEvent
(
ERigVMGraphNotifType InNotifType, |
||
| bool | IsRigVMDefaultEvent
(
const FName& InEventName |
||
| bool | IsStructEditable
(
UStruct* InStruct |
||
| void | RenameNode
(
URigVMEdGraphNode* Node, |
Helper function to rename a node | |
| void | ResetPinDefaultsRecursive
(
UEdGraphPin* InPin |
Helper function to recursively reset the pin defaults | |
| void | SetNodePosition
(
UEdGraphNode* Node, |
||
| void | StartGraphNodeInteraction
(
UEdGraphNode* InNode |
||
| bool | SupportsPinType
(
const UScriptStruct* ScriptStruct |
Returns true if the schema supports the script type |
Overridden from UEdGraphSchema
| Type | Name | Description | |
|---|---|---|---|
| bool | ArePinsCompatible
(
const UEdGraphPin* PinA, |
Returns true if the types and directions of two pins are schema compatible. | |
| FReply | BeginGraphDragAction
(
TSharedPtr< FEdGraphSchemaAction > InAction, |
Begins a drag and drop action to drag a graph action into another graph | |
| void | BreakPinLinks
(
UEdGraphPin& TargetPin, |
Breaks all links from/to a single pin | |
| void | BreakSinglePinLink
(
UEdGraphPin* SourcePin, |
Breaks the link between two nodes. | |
| const FPinConnectionResponse | CanCreateConnection
(
const UEdGraphPin* A, |
Determine if a connection can be created between two pins. | |
| bool | CanDuplicateGraph
(
UEdGraph* InSourceGraph |
Can this graph type be duplicated? | |
| bool | CanGraphBeDropped
(
TSharedPtr< FEdGraphSchemaAction > InAction |
Can the function graph be dropped into another graph | |
| bool | CanVariableBeDropped
(
UEdGraph* InGraph, |
Check whether variables can be dropped onto the graph | |
| void | ClearPinWatch
(
UEdGraphPin const* Pin |
If the specified pin is currently being watched, then this will clear the watch from the graph's debug system. | |
| FConnectionDrawingPolicy * | CreateConnectionDrawingPolicy
(
int32 InBackLayerID, |
Returns new FConnectionDrawingPolicy from this schema | |
| bool | An easy way to check to see if the current graph system supports pin watching. | ||
| UEdGraphPin * | DropPinOnNode
(
UEdGraphNode* InTargetNode, |
Some schemas have nodes that support the user dynamically adding pins when dropping a connection on the node | |
| void | GetContextMenuActions
(
UToolMenu* Menu, |
Gets actions that should be added to the right-click context menu for a node or pin | |
| FString | GetFindReferenceSearchTerm
(
const FEdGraphSchemaAction* InGraphAction |
Returns a custom reference string for searching within the blueprint based on a given action | |
| FText | GetGraphCategory
(
const UEdGraph* InGraph |
Returns an optional category for a graph | |
| void | GetGraphContextActions
(
FGraphContextMenuBuilder& ContextMenuBuilder |
Get all actions that can be performed when right clicking on a graph or drag-releasing on a graph from a pin | |
| void | GetGraphDisplayInformation
(
const UEdGraph& Graph, |
Gets display information for a graph | |
| EGraphType | GetGraphType
(
const UEdGraph* TestEdGraph |
||
| bool | GetLocalVariables
(
const UEdGraph* InGraph, |
Returns the local variables related to the graph. | |
| TSharedPtr< INameValidatorInterface > | GetNameValidator
(
const UBlueprint* InBlueprintObj, |
Returns a name validator appropiate for the schema and object that is being named | |
| FLinearColor | GetPinTypeColor
(
const FEdGraphPinType& PinType |
Gets the draw color of a pin based on it's type. | |
| void | InsertAdditionalActions
(
TArray< UBlueprint* > InBlueprints, |
Insert additional actions into the blueprint action menu | |
| bool | IsPinBeingWatched
(
UEdGraphPin const* Pin |
Checks to see if the specified pin is being watched by the graph's debug system. | |
| TSharedPtr< FEdGraphSchemaAction > | MakeActionFromVariableDescription
(
const UEdGraph* InEdGraph, |
Generates a graph schema action from a graph and a variable description. | |
| bool | MarkBlueprintDirtyFromNewNode
(
UBlueprint* InBlueprint, |
Returns true if the schema wants to overdrive the behaviour of dirtying the blueprint on new node creation. | |
| void | OnPinConnectionDoubleCicked
(
UEdGraphPin* PinA, |
Handles double-clicking on a pin<->pin connection | |
| bool | RequestVariableDropOnPanel
(
UEdGraph* InGraph, |
Request to drop a variable on a panel | |
| bool | RequestVariableDropOnPin
(
UEdGraph* InGraph, |
Request to drop a variable on a pin | |
| bool | SafeDeleteNodeFromGraph
(
UEdGraph* Graph, |
Perform any logic necessary to safely remove this node from the graph. | |
| void | SetNodePosition
(
UEdGraphNode* Node, |
Sets a node's position. | |
| void | SetPinBeingDroppedOnNode
(
UEdGraphPin* InSourcePin |
Let's the schema know about the next pin being dropped | |
| bool | When a node is removed, this method determines whether we should remove it immediately or use the old (slower) code path that results in all node being recreated: | ||
| bool | ShouldHidePinDefaultValue
(
UEdGraphPin* Pin |
If we should disallow viewing and editing of the supplied pin | |
| bool | SupportsDropPinOnNode
(
UEdGraphNode* InTargetNode, |
Checks if the node supports dropping a pin on it | |
| bool | SupportsPinType
(
TWeakPtr< const FEdGraphSchemaAction > SchemaAction, |
Returns true if the schema supports the pin type through the schema action | |
| bool | SupportsPinTypeContainer
(
TWeakPtr< const FEdGraphSchemaAction > SchemaAction, |
Returns true if the schema supports the pin type through the schema action | |
| bool | TryCreateConnection
(
UEdGraphPin* A, |
Try to make a connection between two pins. | |
| bool | TryDeleteGraph
(
UEdGraph* GraphToDelete |
Try to delete the graph through the schema, return true if successful | |
| bool | TryRenameGraph
(
UEdGraph* GraphToRename, |
Try to rename a graph through the schema, return true if successful | |
| void | TrySetDefaultObject
(
UEdGraphPin& Pin, |
Sets the object to the specified pin | |
| void | TrySetDefaultText
(
UEdGraphPin& InPin, |
Sets the text to the specified pin | |
| void | TrySetDefaultValue
(
UEdGraphPin& Pin, |
Sets the string to the specified pin; even if it is invalid it is still set. | |
| FReply | TrySetGraphCategory
(
const UEdGraph* InGraph, |
Tentatively sets the category for a given graph | |
| bool | TryToGetChildEvents
(
const UEdGraph* Graph, |
Try to retrieve the event child actions for a given graph |
Constants
| Name | Description |
|---|---|
| GraphName_RigVM | Name constants |