Files
UnrealEngine/Engine/Source/Editor/PropertyEditor/Private/PropertyEditorEditConstPolicy.cpp
2025-05-18 13:04:45 +08:00

27 lines
684 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "PropertyEditorEditConstPolicy.h"
#include "PropertyNode.h"
namespace PropertyEditorPolicy
{
void RegisterEditConstPolicy(IEditConstPolicy* Policy)
{
FPropertyNode::RegisterEditConstPolicy(Policy);
}
void UnregisterEditConstPolicy(IEditConstPolicy* Policy)
{
FPropertyNode::UnregisterEditConstPolicy(Policy);
}
bool IsPropertyEditConst(const FEditPropertyChain& PropertyChain, UObject* Object)
{
return FPropertyNode::IsPropertyEditConst(PropertyChain, Object);
}
bool IsPropertyEditConst(const FProperty* Property, UObject* Object)
{
return FPropertyNode::IsPropertyEditConst(Property, Object);
}
}