UProperty::ContainerPtrToValuePtr

Syntax

template<typename ValueType>
ValueType * ContainerPtrToValuePtr
(
    UObject * ContainerPtr,
    int32 ArrayIndex
) const

Remarks

Get the pointer to property value in a supplied 'container'. You can only call this function on a UObject* or a uint8*. If the property you want is a 'top level' UObject property, you must call the function passing in a UObject* and not a uint8*. There are checks inside the function to vertify this.

Parameters

Parameter

Description

ContainerPtr

UObject or uint8 to container of property value

ArrayIndex

In array case, index of array element we want

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UnrealType.h