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