You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 63db2d857a39a18021aebd4f #rb trivial [CL 23964185 by Alex McAdams in ue5-main branch]
25 lines
829 B
C++
25 lines
829 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "CoreTypes.h"
|
|
#include "Templates/UniquePtr.h"
|
|
|
|
struct FKLevelSetElem;
|
|
class UBodySetup;
|
|
namespace UE::Geometry
|
|
{
|
|
class FDynamicMesh3;
|
|
}
|
|
namespace Chaos
|
|
{
|
|
class FLevelSet;
|
|
}
|
|
|
|
namespace LevelSetHelpers
|
|
{
|
|
bool CreateLevelSetForBone(UBodySetup* BodySetup, const TArray<FVector3f>& InVertices, const TArray<uint32>& InIndices, uint32 InResolution);
|
|
void CreateDynamicMesh(const TArray<FVector3f>& InVertices, const TArray<uint32>& InIndices, UE::Geometry::FDynamicMesh3& OutMesh);
|
|
bool CreateLevelSetForMesh(const UE::Geometry::FDynamicMesh3& InMesh, int32 InLevelSetGridResolution, FKLevelSetElem& OutElement);
|
|
bool CreateLevelSetForMesh(const UE::Geometry::FDynamicMesh3& InMesh, int32 InLevelSetGridResolution, TUniquePtr<Chaos::FLevelSet>& OutElement);
|
|
}
|