Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel
Inheritance Hierarchy
- IRigVMClientHost
- URigVMBlueprint
- UControlRigBlueprint
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMClient.h |
| Include | #include "RigVMModel/RigVMClient.h" |
Syntax
class IRigVMClientHost
Remarks
Interface that allows an object to host a rig VM client. Used by graph edting code to interact with the controller.
Functions
| Type | Name | Description | |
|---|---|---|---|
| URigVMGraph * | |||
| void | Helper to decrease recompile bracket on nested requests. When value == 1, if autorecompile is enabled, it triggers a VM recompilation. | ||
| TArray< FString > | GeneratePythonCommands
(
const FString InNewBlueprintName |
||
| TArray< URigVMGraph * > | GetAllModels () |
||
| bool | Returns current state of automatic recompile flag. | ||
| URigVMController * | GetController
(
const UEdGraph* InEdGraph |
||
| URigVMController * | GetController
(
const URigVMGraph* InGraph |
||
| URigVMController * | GetControllerByName
(
const FString InGraphName |
||
| URigVMGraph * | |||
| UObject * | GetEditorObjectForRigVMGraph
(
URigVMGraph* InVMGraph |
Returns the editor object corresponding with the supplied RigVM graph. | |
| URigVMGraph * | |||
| URigVMFunctionLibrary * | |||
| URigVMGraph * | GetModel
(
const UEdGraph* InEdGraph |
||
| URigVMGraph * | |||
| URigVMController * | GetOrCreateController
(
URigVMGraph* InGraph |
||
| URigVMController * | GetOrCreateController
(
const UEdGraph* InGraph |
||
| FRigVMClient * | Returns the rigvm client for this host. | ||
| const FRigVMClient * | Returns the rigvm client for this host. | ||
| URigVMGraph * | GetRigVMGraphForEditorObject
(
UObject* InObject |
Returns the RigVM graph corresponding with the supplied editor object. | |
| const IRigVMGraphFunctionHost * | Returns the rigvm function host. | ||
| IRigVMGraphFunctionHost * | Returns the rigvm function host. | ||
| void | HandleConfigureRigVMController
(
const FRigVMClient* InClient, |
Reacts to a request to configure a controller. | |
| void | HandleRigVMGraphAdded
(
const FRigVMClient* InClient, |
Reacts to adding a graph. | |
| void | HandleRigVMGraphRemoved
(
const FRigVMClient* InClient, |
Reacts to removing a graph. | |
| void | HandleRigVMGraphRenamed
(
const FRigVMClient* InClient, |
Reacts to renaming a graph. | |
| void | Helper to increase recompile bracket on nested requests. | ||
| const FRigVMGetFocusedGraph & | |||
| FRigVMGetFocusedGraph & | |||
| void | |||
| void | RecompileVM () |
Recompiles the VM if not already being compiled. | |
| void | Recompiles VM if flagged for recompiling is set. | ||
| void | RefreshAllModels
(
ERigVMLoadType InLoadType |
Regenerates model pins if data has changed while the RigVM Graph is not opened (i.e. user defined struct is changed) | |
| bool | RemoveModel
(
FString InName, |
||
| void | Flags VM requires recompile, and if auto recompile is enabled and no compile bracket is active, requests a recompilation. | ||
| void | |||
| UObject * | ResolveUserDefinedTypeById
(
const FString& InTypeName |
Given a type name for a user-defined type, either struct or an enum, returns a pointer to the object definition or nullptr if the client host has no knowledge of such a type. | |
| void | SetAutoVMRecompile
(
bool bAutoRecompile |
Sets flag for automatic recompile on model changes. |