UProperty::ContainerPtrToValuePtr

Get the pointer to property value in a supplied 'container'.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

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

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