FRigVMOperand

The [FRigVMOperand](API\Runtime\RigVM\RigVMCore\FRigVMOperand) represents an argument used for an operator within the virtual machine.

Windows
MacOS
Linux

References

Module

RigVM

Header

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

Include

#include "RigVMCore/RigVMMemory.h"

Syntax

struct FRigVMOperand

Remarks

The FRigVMOperand represents an argument used for an operator within the virtual machine. Operands provide information about which memory needs to be referred to, which register within the memory all the way to the actual byte address in memory. The FRigVMOperand is a light weight address for a register in a FRigVMMemoryContainer.

Constructors

Name Description

Public function

FRigVMOperand()

Public function

FRigVMOperand

(
    ERigVMMemoryType InMemoryType,
    int32 InRegisterIndex,
    int32 InRegisterOffset
)

Functions

Name Description

Public function Const

int32

 

GetContainerIndex()

Returns the index of the container of this argument

Public function Const

ERigVMMemory...

 

GetMemoryType()

Returns the memory type of this argument

Public function Const

int32

 

GetRegisterIndex()

Returns the index of the register of this argument

Public function Const

int32

 

GetRegisterOffset()

Returns the index of the register of this argument

Public function Const

bool

 

IsValid()

Returns the memory type of this argument

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FRigVMOperand& InOther
)

Public function Const

bool

 

operator==

(
    const FRigVMOperand& InOther
)

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