Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintCore
- UBlueprint
- URigVMBlueprint
- UControlRigBlueprint
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMBlueprint.h |
| Include | #include "RigVMBlueprint.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;IgnoreClassThumbnail&41;&41;
class URigVMBlueprint :
public UBlueprint,
public IRigVMClientHost
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, int32 > | AddedMemberVariableMap | ||
| bool | bSuspendAllNotifications | ||
| bool | bSuspendModelNotificationsForOthers | ||
| bool | bSuspendModelNotificationsForSelf | ||
| TArray< FAssetRegistryTag > | CachedAssetTags | ||
| 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 | ||
| 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, |
||
| URigVMGraph * | |||
| void | BroadcastGraphImported
(
UEdGraph* InGraph |
||
| void | BroadcastNodeDoubleClicked
(
URigVMNode* InNode |
||
| void | BroadcastPostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedChainEvent |
||
| void | |||
| void | BroadCastReportCompilerMessage
(
EMessageSeverity::Type InSeverity, |
||
| void | BroadcastRequestLocalizeFunctionDialog
(
FRigVMGraphFunctionIdentifier InFunction, |
||
| bool | ChangeMemberVariableType
(
const FName& InName, |
||
| void | Removes all the breakpoints from the blueprint and the VM | ||
| void | CommonInitialization
(
const FObjectInitializer& ObjectInitializer |
||
| void | |||
| URigVMHost * | |||
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| void | |||
| FName | FindHostMemberVariableUniqueName
(
TSharedPtr< FKismetNameValidator > InNameValidator, |
||
| TArray< FString > | GeneratePythonCommands
(
const FString InNewBlueprintName |
||
| TArray< URigVMGraph * > | GetAllModels () |
||
| bool | |||
| TArray< UStruct * > | |||
| FCompilerResultsLog & | |||
| const FCompilerResultsLog & | |||
| URigVMController * | GetController
(
const UEdGraph* InEdGraph |
||
| URigVMController * | GetController
(
const URigVMGraph* InGraph |
||
| URigVMController * | GetControllerByName
(
const FString InGraphName |
||
| URigVMGraph * | |||
| 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 | ||
| URigVMGraph * | |||
| URigVMFunctionLibrary * | |||
| TArray< FRigVMGraphVariableDescription > | |||
| URigVMGraph * | |||
| URigVMGraph * | |||
| URigVMController * | GetOrCreateController
(
const UEdGraph* InGraph |
||
| URigVMController * | GetOrCreateController
(
URigVMGraph* InGraph |
||
| const FName & | Returns true if a given panel node factory is compatible this blueprint | ||
| const FName & | Returns true if a given panel pin factory is compatible this blueprint | ||
| 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 | ||
| 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 | ||
| URigVMEditorSettings * | Returns the settings defaults for this blueprint | ||
| UClass * | Returns the class of the settings to use | ||
| UScriptStruct * | Returns the expected execute context struct to use for this blueprint | ||
| UClass * | |||
| UClass * | Returns the expected schema class to use for this blueprint | ||
| URigVMController * | GetTemplateController
(
bool bIsFunctionLibrary |
||
| URigVMGraph * | GetTemplateModel
(
bool bIsFunctionLibrary |
||
| void | |||
| void | |||
| void | InitializeModelIfRequired
(
bool bRecompileVM |
||
| bool | IsFunctionPublic
(
const FName& InFunctionName |
||
| bool | |||
| void | |||
| void | MarkFunctionPublic
(
const FName& InFunctionName, |
||
| FOnRigVMBreakpointAdded & | |||
| FOnRigVMExternalVariablesChanged & | |||
| FRigVMBlueprintGetFocusedGraph & | |||
| FOnRigVMGraphImported & | |||
| FRigVMGraphModifiedEvent & | OnModified () |
||
| FOnRigVMNodeDoubleClicked & | |||
| FOnRigVMPostEditChangeChainProperty & | |||
| void | OnPostVariableChange
(
UBlueprint* InBlueprint |
||
| void | OnPreVariableChange
(
UObject* InObject |
||
| FOnRigVMRefreshEditorEvent & | |||
| FOnRigVMReportCompilerMessage & | |||
| FRigVMOnBreakLinksDialogRequestedDelegate & | |||
| FRigVMOnBulkEditDialogRequestedDelegate & | |||
| FOnRigVMRequestInspectObject & | |||
| FRigVMController_RequestJumpToHyperlinkDelegate & | |||
| FOnRigVMLocalizeFunctionDialogRequested & | |||
| FRigVMOnPinTypeSelectionRequestedDelegate & | |||
| 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 | OnVariableAdded
(
const FName& InVarName |
||
| FOnRigVMVariableDroppedEvent & | |||
| void | OnVariableRemoved
(
const FName& InVarName |
||
| void | OnVariableRenamed
(
const FName& InOldVarName, |
||
| void | OnVariableTypeChanged
(
const FName& InVarName, |
||
| FOnRigVMCompiledEvent & | OnVMCompiled () |
||
| void | |||
| void | |||
| void | |||
| void | RecompileVM () |
||
| void | |||
| void | RefreshAllModels
(
ERigVMBlueprintLoadType 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 | |
| void | Recomputes the instruction breakpoints given the node breakpoints in the blueprint | ||
| bool | RemoveBreakpoint
(
URigVMNode* InBreakpointNode |
Removes the given breakpoint from all the loaded blueprints that use this node, and recomputes all breakpoints in the VM | |
| 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 | RemoveModel
(
FString InName, |
||
| bool | RenameMemberVariable
(
const FName& InOldName, |
||
| void | |||
| void | RequestInspectObject
(
const TArray< UObject* >& InObjects |
||
| void | |||
| void | SetAutoVMRecompile
(
bool bAutoRecompile |
||
| void | SetDebugMode
(
const bool bValue |
Sets the execution mode. In Release mode the rig will ignore all breakpoints. | |
| void | SetupDefaultObjectDuringCompilation
(
URigVMHost* InCDO |
||
| void |
Overridden from UBlueprint
| Type | Name | Description | |
|---|---|---|---|
| bool | CanImportGraphFromText
(
const FString& InClipboardText |
Returns true if the blueprint can import a given InClipboardText. | |
| bool | ExportGraphToText
(
UEdGraph* InEdGraph, |
Copies a given graph into a text buffer. Returns true if successful. | |
| UClass * | Gets the class generated when this blueprint is compiled. | ||
| void | GetInstanceActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Allow each blueprint instance to add specific UBlueprintNodeSpawners pertaining to the sub-class type. | |
| void | GetTypeActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Allow each blueprint type (AnimBlueprint or ControlRigBlueprint) to add specific UBlueprintNodeSpawners pertaining to the sub-class type. | |
| bool | Whether or not this blueprint can be considered for a bytecode only compile | ||
| void | Blueprint can choose to load specific modules for compilation. | ||
| void | Checks all nodes in all graphs to see if they should be replaced by other nodes | ||
| bool | RequiresForceLoadMembers
(
UObject* InObject |
||
| void | SetObjectBeingDebugged
(
UObject* NewObject |
Sets the current object being debugged | |
| bool | Returns true if this blueprint should be marked dirty upon a transaction | ||
| bool | Should the generic blueprint factory work for this blueprint? | ||
| bool | Returns true if this blueprint supports animation layers | ||
| bool | Returns true if this blueprint supports delegates | ||
| bool | Returns true if this blueprint supports event graphs | ||
| bool | Returns true if this blueprint supports functions | ||
| bool | Returns true if this blueprint supports global variables | ||
| bool | Returns true if this blueprint supports global variables | ||
| bool | Returns true if this blueprint supports macros | ||
| bool | TryImportGraphFromText
(
const FString& InClipboardText, |
Returns a new ed graph if the blueprint's specialization imported a graph based on a clipboard text content an nullptr if that's not successful. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
| void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
Called during cooking. | |
| bool | Called during async load to determine if PostLoad can be called on the loading thread. | ||
| void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. | |
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PostRename
(
UObject* OldOuter, |
Called at the end of Rename(), but only if the rename was actually carried out | |
| void | PostTransacted
(
const FTransactionObjectEvent& TransactionEvent |
Called after the object has been transacted in some way. | |
| void | PreDuplicate
(
FObjectDuplicationParameters& DupParams |
Called before duplication. | |
| void | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. | |
| UClass * | RegenerateClass
(
UClass* ClassToRegenerate, |
Called on the target when a class is loaded with ClassGeneratedBy is loaded. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from IRigVMClientHost
| Type | Name | Description | |
|---|---|---|---|
| UObject * | GetEditorObjectForRigVMGraph
(
URigVMGraph* InVMGraph |
Returns the editor object corresponding with the supplied editor object. | |
| FRigVMClient * | Returns the rigvm client for this host. | ||
| const FRigVMClient * | Returns the rigvm client for this host. | ||
| IRigVMGraphFunctionHost * | Returns the rigvm function host. | ||
| const 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. |
Constants
| Name | Description |
|---|---|
| PreDuplicateAssetPath | |
| PreDuplicateHostPath | |
| RigVMPanelNodeFactoryName | |
| RigVMPanelPinFactoryName | |
| sCurrentlyOpenedRigVMBlueprints |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< URigVMFunctionLibrary > | FunctionLibrary_DEPRECATED | ||
| TObjectPtr< URigVMGraph > | Model_DEPRECATED |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGSvoid | PreSave
(
const ITargetPlatform* TargetPlatform |
Use version that takes FObjectPreSaveContext instead. |