FProperty::CopySingleValueFromScriptVM

Copy the value for a single element of this property. From the script VM.

Windows
MacOS
Linux

Override Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Property.cpp

Syntax

virtual void CopySingleValueFromScriptVM
(
    void * Dest,
    void const * Src
) const

Remarks

Copy the value for a single element of this property. From the script VM.

Parameters

Parameter

Description

Dest

the address where the value should be copied to. This should always correspond to the BASE + OFFSET + INDEX * SIZE, where BASE = (for member properties) the address of the UObject which contains this data, (for locals/parameters) the address of the space allocated for the function's locals OFFSET = the Offset of this FProperty INDEX = the index that you want to copy. for properties which are not arrays, this should always be 0 SIZE = the ElementSize of this FProperty

Src

the address of the value to copy from. should be evaluated the same way as Dest

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