EPropertyAccessCopyType

Windows
MacOS
Linux

References

Module

PropertyAccess

Header

/Engine/Source/Runtime/PropertyAccess/Public/PropertyAccess.h

Include

#include "PropertyAccess.h"

Syntax

enum EPropertyAccessCopyType
{
    None,
    Plain,
    Complex,
    Bool,
    Struct,
    Object,
    Name,
    Array,
    PromoteBoolToByte,
    PromoteBoolToInt32,
    PromoteBoolToInt64,
    PromoteBoolToFloat,
    PromoteByteToInt32,
    PromoteByteToInt64,
    PromoteByteToFloat,
    PromoteInt32ToInt64,
    PromoteInt32ToFloat,
}

Values

Name

Description

None

No copying.

Plain

For plain old data types, we do a simple memcpy.

Complex

For more complex data types, we need to call the properties copy function.

Bool

Read and write properties using bool property helpers, as source/dest could be bitfield or boolean.

Struct

Use struct copy operation, as this needs to correctly handle CPP struct ops.

Object

Read and write properties using object property helpers, as source/dest could be regular/weak/soft etc.

Name

FName needs special case because its size changes between editor/compiler and runtime.

Array

Array needs special handling for fixed size arrays.

PromoteBoolToByte

Promote the type during the copy Bool promotions

PromoteBoolToInt32

PromoteBoolToInt64

PromoteBoolToFloat

PromoteByteToInt32

Byte promotions.

PromoteByteToInt64

PromoteByteToFloat

PromoteInt32ToInt64

Int32 promotions.

PromoteInt32ToFloat

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback