FKismetCompilerUtilities::CheckPropertyNameOnScope

Checks that the property name isn't taken in the given scope (used by [CreatePropertyOnScope()](API\Editor\KismetCompiler\FKismetCompilerUtilities\CreatePropertyOnScope))

Windows
MacOS
Linux

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h

Include

#include "KismetCompilerMisc.h"

Source

/Engine/Source/Editor/KismetCompiler/Private/KismetCompilerMisc.cpp

Syntax

static FFieldVariant CheckPropertyNameOnScope
(
    UStruct * Scope,
    const FName & PropertyName
)

Remarks

Checks that the property name isn't taken in the given scope (used by CreatePropertyOnScope())

Returns

Ptr to an existing object with that name in the given scope or nullptr if none exists

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