FRigVMInstructionArray

The [FRigVMInstructionArray](API\Runtime\RigVM\RigVMCore\FRigVMInstructionArray) represents all current instructions within a RigVM and can be used to iterate over all operators and retrieve each instruction's data.

Windows
MacOS
Linux

References

Module

RigVM

Header

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

Include

#include "RigVMCore/RigVMByteCode.h"

Syntax

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

Name Description

Public function

FRigVMInstructionArray()

Functions

Name Description

Public function

void

 

Empty()

Resets the data structure and removes all storage.

Public function Const

bool

 

IsValidIndex

(
    int32 InIndex
)

Returns true if a given instruction index is valid.

Public function Const

int32

 

Num()

Returns the number of instructions.

Public function

void

 

Reset()

Resets the data structure and maintains all storage.

Operators

Name Description

Public function Const

const FRigVM...

 

operator[]

(
    int32 InIndex
)

Const accessor for an instruction given its index

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