Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel
Inheritance Hierarchy
- UObject
- URigVMSchema
- UControlRigSchema
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMSchema.h |
| Include | #include "RigVMModel/RigVMSchema.h" |
Syntax
UCLASS ()
class URigVMSchema : public UObject
Remarks
The Schema is used to determine which actions are allowed on a graph. This includes any topological change.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UScriptStruct > | ExecuteContextStruct | ||
| FRigVMRegistry * | Registry | ||
| TArray< UStruct * > | ValidExecuteContextStructs |
Constructors
| Type | Name | Description | |
|---|---|---|---|
URigVMSchema () |
Default constructor. | ||
URigVMSchema
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAddFunction
(
URigVMController* InController, |
Returns true if functions definitions (not refs) can be added to the graph. | |
| bool | CanAddLink
(
URigVMController* InController, |
Returns true if a link can be added between two pins. | |
| bool | CanAddNode
(
URigVMController* InController, |
Returns true if a given node can be added the graph. | |
| bool | CanBindVariable
(
URigVMController* InController, |
Returns true if a variable can be bound to a pin. | |
| bool | CanBreakLink
(
URigVMController* InController, |
Returns true if a link exists between two pins and can be broken / removed. | |
| bool | CanCollapseNodes
(
URigVMController* InController, |
Returns true if a set of nodes can be collapsed. | |
| bool | CanExpandNode
(
URigVMController* InController, |
Returns true if a node can be expanded within a graph. | |
| bool | CanMoveNode
(
URigVMController* InController, |
Returns true if a node can moved to a new position. | |
| bool | CanRecolorNode
(
URigVMController* InController, |
Returns true if a node can recolored to a new color. | |
| bool | CanRemoveFunction
(
URigVMController* InController, |
Returns true if a function can be removed. | |
| bool | CanRemoveNode
(
URigVMController* InController, |
Returns true if a given node can be removed from the graph. | |
| bool | CanRenameNode
(
URigVMController* InController, |
Returns true if a given node can be added the graph. | |
| bool | CanResizeNode
(
URigVMController* InController, |
Returns true if a node can resized to a new size. | |
| bool | CanUnbindVariable
(
URigVMController* InController, |
Returns true if a variable can be unbound from a pin. | |
| bool | CanUnfoldPin
(
URigVMController* InController, |
Returns true if a pin should be unfolded (represented by its subpins) | |
| TObjectPtr< URigVMNode > | FindEventNode
(
URigVMController* InController, |
||
| UScriptStruct * | Returns the execute context struct this schema is using. | ||
| FString | GetGraphOuterName
(
const URigVMGraph* InGraph |
||
| int32 | |||
| FString | GetSanitizedGraphName
(
const FString& InName |
||
| FString | GetSanitizedName
(
const FString& InName, |
||
| FString | GetSanitizedNodeName
(
const FString& InName |
||
| FString | GetSanitizedPinName
(
const FString& InName |
||
| FString | GetSanitizedPinPath
(
const FString& InName |
||
| FString | GetSanitizedVariableName
(
const FString& InName |
||
| FName | GetUniqueName
(
const FName& InName, |
Returns a unique name based on a IsNameAvailable predicate. | |
| FString | GetValidNodeName
(
const URigVMGraph* InGraph, |
||
| bool | IsGraphEditable
(
const URigVMGraph* InGraph |
||
| bool | IsValidNodeName
(
const URigVMGraph* InGraph, |
Returns true if a node name is valid for a given graph. | |
| void | SanitizeName
(
FString& InOutName, |
||
| void | SetExecuteContextStruct
(
UScriptStruct* InExecuteContextStruct |
Sets the execute context struct this schema is using. | |
| bool | ShouldUnfoldStruct
(
URigVMController* InController, |
Returns true if the pin for a given struct should be unfolded into subpins for a graph. | |
| bool | SupportsDispatchFactory
(
URigVMController* InController, |
Returns true if a graph supports a given dispatch factory. | |
| bool | SupportsExternalVariable
(
URigVMController* InController, |
Returns true if a graph supports a given external variable. | |
| bool | SupportsGraphFunction
(
URigVMController* InController, |
Returns true if a graph supports a given graph based function. | |
| bool | SupportsNodeLayouts
(
const URigVMGraph* InGraph |
Returns true if a graph supports pin categories / node layouts. | |
| bool | SupportsTemplate
(
URigVMController* InController, |
Returns true if a graph supports a given template. | |
| bool | SupportsType
(
URigVMController* InController, |
Returns true if a graph supports a given type. | |
| bool | SupportsUnitFunction
(
URigVMController* InController, |
Returns true if a graph supports a given unit function. |