Files
UnrealEngineUWP/Engine/Source/Runtime/MeshEditingRuntime/Public/IEditableMeshFormat.h

22 lines
687 B
C
Raw Normal View History

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Features/IModularFeature.h"
#include "Features/IModularFeatures.h"
/**
* Interface for mesh primitives that can be interactively edited (low-poly editing, sculpting, attribute painting, etc.)
*/
class IEditableMeshFormat : public IModularFeature
{
public:
// @todo mesheditor: Comments!
virtual void FillMeshObjectPtr( class UPrimitiveComponent& Component, struct FEditableMeshSubMeshAddress& SubMeshAddress ) = 0;
virtual class UEditableMesh* MakeEditableMesh( class UPrimitiveComponent& Component, const struct FEditableMeshSubMeshAddress& SubMeshAddress ) = 0;
};