Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FProperty > API/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 * 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
| Name | Description |
|---|---|
| ContainerPtr | UObject or uint8 to container of property value |
| ArrayIndex | In array case, index of array element we want |