FRigVMRegistry

The [FRigVMRegistry](API\Runtime\RigVM\RigVMCore\FRigVMRegistry) is used to manage all known function pointers for use in the RigVM.

Windows
MacOS
Linux

References

Module

RigVM

Header

/Engine/Source/Runtime/RigVM/Public/RigVMCore/RigVMRegistry.h

Include

#include "RigVMCore/RigVMRegistry.h"

Syntax

struct FRigVMRegistry

Remarks

The FRigVMRegistry is used to manage all known function pointers for use in the RigVM. The Register method is called automatically when the static struct is initially constructed for each USTRUCT hosting a RIGVM_METHOD enabled virtual function.

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Const

FRigVMFuncti...

 

Find

(
    const TCHAR* InName
)

Returns a function pointer given its name.

Public function Static

FRigVMRegist...

 

Get()

Returns the singleton registry.

Public function Const

const TArray...

 

GetFunctions()

Returns all current rigvm functions.

Public function

void

 

Refresh()

Refreshes the list and finds the function pointers based on the names.

Public function

void

 

Register

(
    const TCHAR* InName,
    FRigVMFunctionPtr InFunctionPtr,
    UScriptStruct* InStruct
)

Registers a function given its name.

Constants

Name

Description

s_RigVMRegistry

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss