Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > FProperty > ContainerPtrToValuePtr
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include | #include "UObject/UnrealType.h" |
template<typename ValueType>
ValueType &42; ContainerPtrToValuePtr
&40;
UObject &42; ContainerPtr,
int32 ArrayIndex
&41; 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
Name | Description |
---|---|
ContainerPtr | UObject or uint8 to container of property value |
ArrayIndex | In array case, index of array element we want |