Files
UnrealEngine/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/MeshSculptLayersManagerAPI.h
2025-05-18 13:04:45 +08:00

38 lines
655 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "GeometryBase.h"
#include "MeshSculptLayersManagerAPI.generated.h"
UINTERFACE(MinimalAPI)
class UMeshSculptLayersManager : public UInterface
{
GENERATED_BODY()
};
// API to provide control over mesh sculpt layer support
class IMeshSculptLayersManager
{
GENERATED_BODY()
public:
virtual bool HasSculptLayers() const
{
return false;
}
// @return A number of base sculpt layers which should not be edited, or 0 if all layers can be edited
virtual int32 NumLockedBaseSculptLayers() const
{
return 0;
}
};