Navigation
API > API/Plugins > API/Plugins/RigVM
The FRigVMInstructionArray represents all current instructions within a RigVM and can be used to iterate over all operators and retrieve each instruction's data.
| Name | FRigVMInstructionArray |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMByteCode.h |
| Include Path | #include "RigVMCore/RigVMByteCode.h" |
Syntax
USTRUCT ()
struct FRigVMInstructionArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RigVMCore/RigVMByteCode.h | |||
FRigVMInstructionArray
(
const FRigVMByteCode& InByteCode, |
Hide utility constructor | RigVMCore/RigVMByteCode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Instructions | TArray< FRigVMInstruction > | RigVMCore/RigVMByteCode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FRigVMInstruction >::RangedForConstIteratorType begin() |
RigVMCore/RigVMByteCode.h | ||
void Empty() |
Resets the data structure and removes all storage. | RigVMCore/RigVMByteCode.h | |
TArray< FRigVMInstruction >::RangedForConstIteratorType end() |
RigVMCore/RigVMByteCode.h | ||
bool IsValidIndex
(
int32 InIndex |
Returns true if a given instruction index is valid. | RigVMCore/RigVMByteCode.h | |
int32 Num() |
Returns the number of instructions. | RigVMCore/RigVMByteCode.h | |
void Reset() |
Resets the data structure and maintains all storage. | RigVMCore/RigVMByteCode.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FRigVMInstruction & operator[]
(
int32 InIndex |
Const accessor for an instruction given its index | RigVMCore/RigVMByteCode.h |