UProperty::CopySingleValue

Syntax

void CopySingleValue
(
    void * Dest,
    void const * Src
) const

Remarks

Copy the value for a single element of this property.

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 UProperty INDEX = the index that you want to copy. for properties which are not arrays, this should always be 0 SIZE = the ElementSize of this UProperty

Src

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

InstancingParams

contains information about instancing (if any) to perform

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UnrealType.h