Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper
Inheritance Hierarchy
- UBlueprint
- IRigVMClientHost
- IRigVMExternalDependencyManager
- URigVMBlueprint
- UControlRigBlueprint
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMBlueprint.h |
| Include | #include "RigVMBlueprint.h" |
Syntax
UCLASS (BlueprintType, Meta=(IgnoreClassThumbnail))
class URigVMBlueprint :
public UBlueprint,
public IRigVMClientHost ,
public IRigVMExternalDependencyManager
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, int32 > | AddedMemberVariableMap | ||
| FRigVMVariant | AssetVariant | Variant information about this asset | |
| bool | bSuspendAllNotifications | ||
| bool | bSuspendModelNotificationsForSelf | ||
| TArray< FAssetRegistryTag > | CachedAssetTags | ||
| TObjectPtr< URigVMHost > | EditorHost | Our currently running rig vm instance | |
| TObjectPtr< URigVMEdGraph > | FunctionLibraryEdGraph | ||
| TArray< FRigVMReferenceNodeData > | FunctionReferenceNodeData | Asset searchable information function references in this rig | |
| TArray< FBPVariableDescription > | LastNewVariables | ||
| TMap< FString, FRigVMOperand > | PinToOperandMap | ||
| TArray< FRigVMGraphFunctionHeader > | PublicGraphFunctions | Asset searchable information about exposed public functions on this rig | |
| FRigVMPythonSettings | PythonLogSettings | ||
| TArray< FSoftObjectPath > | ReferencedObjectPaths | ||
| bool | ReferencedObjectPathsStored | ||
| FRigVMEdGraphDisplaySettings | RigGraphDisplaySettings | ||
| FRigVMClient | RigVMClient | ||
| TArray< FString > | ShapeLibrariesToLoadOnPackageLoaded | Shape libraries to load during package load completed | |
| TObjectPtr< URigVMController > | TemplateController | ||
| TObjectPtr< URigVMGraph > | TemplateModel | ||
| TMap< FString, FSoftObjectPath > | UserDefinedStructGuidToPathName | ||
| TSet< TObjectPtr< UObject > > | UserDefinedTypesInUse | ||
| FRigVMCompileSettings | VMCompileSettings | ||
| FRigVMRuntimeSettings | VMRuntimeSettings |
Constructors
| Type | Name | Description | |
|---|---|---|---|
URigVMBlueprint
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddBreakpoint
(
const FString& InBreakpointNodePath |
Adds a breakpoint to all loaded blueprints which use the node indicated by InBreakpointNodePath If the node is inside a public function, it will add a breakpoint to all blueprints calling this function. | |
| bool | AddBreakpoint
(
URigVMNode* InBreakpointNode, |
Adds a breakpoint to all loaded blueprints which use the InBreakpointNode. | |
| bool | AddBreakpointToHost
(
URigVMNode* InBreakpointNode |
Adds a breakpoint to the first instruction of each callpath related to the InBreakpointNode | |
| int32 | AddHostMemberVariable
(
URigVMBlueprint* InBlueprint, |
||
| FName | AddHostMemberVariableFromExternal
(
FRigVMExternalVariable InVariableToCreate, |
||
| FName | AddMemberVariable
(
const FName& InName, |
||
| void | BroadcastGraphImported
(
UEdGraph* InGraph |
||
| void | BroadcastNodeDoubleClicked
(
URigVMNode* InNode |
||
| void | BroadcastPostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedChainEvent |
||
| void | |||
| void | BroadCastReportCompilerMessage
(
EMessageSeverity::Type InSeverity, |
||
| void | BroadcastRequestLocalizeFunctionDialog
(
FRigVMGraphFunctionIdentifier InFunction, |
||
| bool | CanImportGraphFromText
(
const FString& InClipboardText |
||
| bool | ChangeMemberVariableType
(
const FName& InName, |
||
| void | Removes all the breakpoints from the blueprint and the VM | ||
| void | |||
| void | CommonInitialization
(
const FObjectInitializer& ObjectInitializer |
||
| void | |||
| URigVMHost * | |||
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| bool | ExportGraphToText
(
UEdGraph* InEdGraph, |
||
| FName | FindHostMemberVariableUniqueName
(
TSharedPtr< FKismetNameValidator > InNameValidator, |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| const FRigVMVariant & | |||
| FRigVMVariant | |||
| TArray< UStruct * > | |||
| UClass * | |||
| FCompilerResultsLog & | |||
| const FCompilerResultsLog & | |||
| URigVMHost * | |||
| TArray< URigVMBlueprint * > | GetDependencies
(
bool bRecursive |
Returns a list of dependencies of this blueprint. | |
| TArray< FAssetData > | Returns a list of dependents as unresolved soft object pointers. | ||
| TArray< URigVMBlueprint * > | GetDependentBlueprints
(
bool bRecursive, |
Returns a list of dependents as resolved blueprints. | |
| UEdGraph * | GetEdGraph
(
const FString& InNodePath |
||
| UEdGraph * | GetEdGraph
(
URigVMGraph* InModel |
||
| IRigVMEditorModule * | Returns the editor module to be used for this blueprint | ||
| void | GetInstanceActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
||
| TArray< FRigVMVariantRef > | |||
| TArray< FRigVMGraphVariableDescription > | |||
| const FLazyName & | Returns true if a given panel node factory is compatible this blueprint | ||
| const FLazyName & | Returns true if a given panel pin factory is compatible this blueprint | ||
| void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
Called during cooking. | |
| TArray< IRigVMGraphFunctionHost * > | GetReferencedFunctionHosts
(
bool bForceLoad |
||
| TArray< FRigVMReferenceNodeData > | |||
| URigVMBlueprintGeneratedClass * | Get the (full) generated class for this rigvm blueprint | ||
| UClass * | Returns the class used as the super class for all generated classes | ||
| URigVMBlueprintGeneratedClass * | Get the (skeleton) generated class for this rigvm blueprint | ||
| URigVMEditorSettings * | Returns the settings defaults for this blueprint | ||
| UClass * | |||
| URigVMController * | GetTemplateController
(
bool bIsFunctionLibrary |
||
| URigVMGraph * | GetTemplateModel
(
bool bIsFunctionLibrary |
||
| void | GetTypeActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
||
| void | |||
| void | |||
| void | InitializeModelIfRequired
(
bool bRecompileVM |
||
| bool | Returns the execution mode | ||
| bool | |||
| bool | |||
| bool | |||
| bool | JoinAssetVariant
(
const FGuid& InGuid |
Merges the asset's guid with a provided one to join the variant set | |
| void | |||
| void | |||
| FOnRigVMBreakpointAdded & | |||
| FOnRigVMExternalVariablesChanged & | |||
| FOnRigVMGraphImported & | |||
| FOnRigVMNodeDoubleClicked & | |||
| FOnRigVMPostEditChangeChainProperty & | |||
| void | OnPostVariableChange
(
UBlueprint* InBlueprint |
||
| void | OnPreVariableChange
(
UObject* InObject |
||
| FOnRigVMRefreshEditorEvent & | |||
| FOnRigVMReportCompilerMessage & | |||
| FRigVMOnBreakLinksDialogRequestedDelegate & | |||
| FRigVMOnBulkEditDialogRequestedDelegate & | |||
| FOnRigVMRequestInspectMemoryStorage & | |||
| FOnRigVMRequestInspectObject & | |||
| FRigVMController_RequestJumpToHyperlinkDelegate & | |||
| FOnRigVMLocalizeFunctionDialogRequested & | |||
| FRigVMOnPinTypeSelectionRequestedDelegate & | |||
| void | OnVariableAdded
(
const FName& InVarName |
||
| FOnRigVMVariableDroppedEvent & | |||
| void | OnVariableRemoved
(
const FName& InVarName |
||
| void | OnVariableRenamed
(
const FName& InOldVarName, |
||
| void | OnVariableTypeChanged
(
const FName& InVarName, |
||
| FOnRigVMCompiledEvent & | OnVMCompiled () |
||
| void | |||
| void | PostDuplicate
(
bool bDuplicateForPIE |
||
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
||
| void | PostLoad () |
||
| void | PostRename
(
UObject* OldOuter, |
||
| void | PostSaveRoot
(
FObjectPostSaveRootContext ObjectSaveContext |
||
| void | PostTransacted
(
const FTransactionObjectEvent& TransactionEvent |
||
| void | PreDuplicate
(
FObjectDuplicationParameters& DupParams |
||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void | PreSave
(
const ITargetPlatform* TargetPlatform |
||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
||
| void | |||
| void | QueueCompilerMessageDelegate
(
const FOnRigVMReportCompilerMessage::FDelegate& InDelegate |
||
| void | |||
| void | Recomputes the instruction breakpoints given the node breakpoints in the blueprint | ||
| UClass * | RegenerateClass
(
UClass* ClassToRegenerate, |
||
| bool | RemoveBreakpoint
(
URigVMNode* InBreakpointNode |
||
| bool | RemoveBreakpoint
(
const FString& InBreakpointNodePath |
Removes the given breakpoint from all the loaded blueprints that use this node, and recomputes all breakpoints in the VM | |
| bool | RemoveMemberVariable
(
const FName& InName |
||
| bool | RenameMemberVariable
(
const FName& InOldName, |
||
| void | |||
| void | RequestInspectMemoryStorage
(
const TArray< FRigVMMemoryStorageStruct* >& InMemoryStorageStructs |
||
| void | RequestInspectObject
(
const TArray< UObject* >& InObjects |
||
| bool | RequiresForceLoadMembers
(
UObject* InObject |
||
| void | Serialize
(
FArchive& Ar |
||
| void | SetDebugMode
(
const bool bValue |
Sets the execution mode. In Release mode the rig will ignore all breakpoints. | |
| void | SetObjectBeingDebugged
(
UObject* NewObject |
||
| void | SetupDefaultObjectDuringCompilation
(
URigVMHost* InCDO |
||
| bool | |||
| bool | Resets the asset's guid to a new one and splits it from the former variant set | ||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | TryImportGraphFromText
(
const FString& InClipboardText, |
Overridden from IRigVMClientHost
| 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 () |
||
| FString | GetAssetName () |
IRigVMClientHost interface Start | |
| 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 * | |||
| URigVMGraph * | GetModel
(
const UEdGraph* InEdGraph |
||
| URigVMController * | GetOrCreateController
(
const UEdGraph* InGraph |
||
| URigVMController * | GetOrCreateController
(
URigVMGraph* InGraph |
||
| URigVMFunctionLibrary * | GetOrCreateLocalFunctionLibrary
(
bool bSetupUndoRedo |
||
| FRigVMClient * | Returns the rigvm client for this host. | ||
| const FRigVMClient * | Returns the rigvm client for this host. | ||
| UClass * | Returns the expected ed graph class to use for this blueprint | ||
| UClass * | Returns the expected ed graph node class to use for this blueprint | ||
| UClass * | Returns the expected ed graph schema class to use for this blueprint | ||
| UClass * | Returns the class of the settings to use | ||
| UScriptStruct * | Returns the expected execute context struct to use for this blueprint | ||
| 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. | ||
| UClass * | Returns the expected schema class to use for this blueprint | ||
| 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. | ||
| bool | IsFunctionPublic
(
const FName& InFunctionName |
||
| void | MarkFunctionPublic
(
const FName& InFunctionName, |
||
| FRigVMGetFocusedGraph & | |||
| const FRigVMGetFocusedGraph & | |||
| FRigVMGraphModifiedEvent & | OnModified () |
||
| void | RigVMRegistry changes can be triggered when new user defined types(structs/enums) are added/removed in which case we have to refresh the model | ||
| void | RecompileVM () |
Recompiles the VM if not already being compiled. | |
| void | Recompiles VM if flagged for recompiling is set. | ||
| void | RefreshAllModels
(
ERigVMLoadType InLoadType |
This is needed since even after load model data can change while the RigVM BP is not opened for example, if a user defined struct changed after BP load, any pin that references the struct needs to be regenerated | |
| bool | RemoveModel
(
FString InName, |
||
| void | RenameGraph
(
const FString& InNodePath, |
||
| 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. | |
| void |
Overridden from IRigVMExternalDependencyManager
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRigVMExternalDependency > | GetExternalDependenciesForCategory
(
const FName& InCategory |
Constants
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< URigVMFunctionLibrary > | FunctionLibrary_DEPRECATED | ||
| TObjectPtr< URigVMGraph > | Model_DEPRECATED |