FRigVMRegisterOffset

The register offset represents a memory offset within a register's memory.

Windows
MacOS
Linux

References

Module

RigVM

Header

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

Include

#include "RigVMCore/RigVMMemory.h"

Syntax

struct FRigVMRegisterOffset

Remarks

The register offset represents a memory offset within a register's memory. This can be used to represent memory addresses of array elements within a struct, for example.

Constructors

Name Description

Public function

FRigVMRegisterOffset()

Default constructor

Public function

FRigVMRegisterOffset

(
    UScriptStruct* InScriptStruct,
    const FString& InSegmentPath,
    int32 InInitialOffset,
    uint16 InElementSize
)

Constructs a path given a struct and a segment path

Functions

Name Description

Public function Const

FName

 

GetCPPType()

Public function Const

uint8 *

 

GetData

(
    uint8* InContainer
)

Returns the data pointer within a container

Public function Const

uint16

 

GetElementSize()

Public function Const

UScriptStruc...

 

GetScriptStruct()

Public function Const

const TArray...

 

GetSegments()

Returns the segments of this path

Public function Const

ERigVMRegist...

 

GetType()

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Public function

void

 

SetElementSize

(
    uint16 InElementSize
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FRigVMRegisterOffset& InOthe...
)

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