Navigation
API > API/Plugins > API/Plugins/UAF
Asset instance component supplying work memory for RigVM execution.
| Name | FUAFRigVMComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/Script/UAFRigVMComponent.h |
| Include Path | #include "Script/UAFRigVMComponent.h" |
Syntax
USTRUCT ()
struct FUAFRigVMComponent : public FUAFScriptComponent
Inheritance Hierarchy
- FUAFAssetInstanceComponent → FUAFScriptComponent → FUAFRigVMComponent
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInitialized | bool | Flag for initialization checks. | Script/UAFRigVMComponent.h | |
| ExtendedExecuteContext | FRigVMExtendedExecuteContext | Extended execute context instance for our asset instance, we own it. | Script/UAFRigVMComponent.h |
|
| FAnimNextGraphInstance | friend | Script/UAFRigVMComponent.h | ||
| FAnimNextModuleInstance | friend | Script/UAFRigVMComponent.h | ||
| ImplementedEvents | TArray< UE::UAF::FScriptEventInfo > | Cached events. | Script/UAFRigVMComponent.h | |
| VM | TObjectPtr< URigVM > | VM used for execution. | Script/UAFRigVMComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMExtendedExecuteContext & GetExtendedExecuteContext() |
Get the RigVM extended execute context. | Script/UAFRigVMComponent.h |
Public Virtual
Overridden from FUAFScriptComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CallEventByName
(
TConstStructView< FUAFScriptContextData > InContextData |
Call an event with just its name, left up to derived components to implement (usually slower due to lookup) | Script/UAFRigVMComponent.h | |
virtual TConstArrayView< UE::UAF::FScriptEventInfo > GetScriptEvents() |
Get info about all script events that are implemented in this component. | Script/UAFRigVMComponent.h |
Overridden from FUAFAssetInstanceComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UScriptStruct * GetScriptStruct() |
Get the UScriptStruct of this component, must be overriden in derived structs (use DECLARE_UAF_ASSET_INSTANCE_COMPONENT) | Script/UAFRigVMComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void StaticCallEvent
(
TStructView< FUAFScriptComponent > InScriptComponent, |
Calls an event in RigVM with appropriate context setup. | Script/UAFRigVMComponent.h |