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