You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UETOOL-3823 #rb brooke.hubert #preflight 6109d1e9b4288d0001acb7ef #ROBOMERGE-SOURCE: CL 17055606 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176) [CL 17055619 by michael balzer in ue5-release-engine-test branch]
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Interface.h"
|
|
|
|
#include "MeshDescriptionProvider.generated.h"
|
|
|
|
struct FMeshDescription;
|
|
|
|
UINTERFACE()
|
|
class INTERACTIVETOOLSFRAMEWORK_API UMeshDescriptionProvider : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
class INTERACTIVETOOLSFRAMEWORK_API IMeshDescriptionProvider
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/**
|
|
* Access the MeshDescriptionavailable through this Provider. Note that this MeshDescription may or may not
|
|
* be owned by the provider and should not be modified directly. Use IMeshDescriptionCommitter for writes.
|
|
* @return pointer to MeshDescription
|
|
*/
|
|
virtual const FMeshDescription* GetMeshDescription() = 0;
|
|
|
|
/**
|
|
* Compute any auto-generated attributes on the input MeshDescription. This is required to support
|
|
* auto-computed Normals and Tangents on Static Mesh Assets, as those normals/tangents are computed
|
|
* on-the-fly when generating rendering data, and will be zero in the MeshDescription returned by
|
|
* GetMeshDescription(). A no-op default implementation is provided.
|
|
*/
|
|
virtual void CalculateAutoGeneratedAttributes(FMeshDescription& MeshDescription)
|
|
{
|
|
}
|
|
}; |