FProperty::ContainerPtrToValuePtrForDefaults

Default variants, these accept and return NULL, and also check the property against the size of the 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 * ContainerPtrToValuePtrForDefaults
(
    UStruct * ContainerClass,
    UObject * ContainerPtr,
    int32 ArrayIndex
) const

Remarks

Default variants, these accept and return NULL, and also check the property against the size of the container. If we copying from a baseclass (like for a CDO), then this will give NULL for a property that doesn't belong to the baseclass

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss