2020-09-01 14:07:48 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Physics/PhysicsDataCollection.h"
|
|
|
|
|
#include "Drawing/PreviewGeometryActor.h"
|
|
|
|
|
|
|
|
|
|
namespace UE
|
|
|
|
|
{
|
|
|
|
|
namespace PhysicsTools
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Create line sets in a UPreviewGeometry for all the elements in a Physics Data Collection.
|
|
|
|
|
* Spheres and Capsules are drawn as 3-axis wireframes. Convexes are added as wireframes.
|
|
|
|
|
*/
|
2021-07-29 20:04:58 -04:00
|
|
|
void MESHMODELINGTOOLSEXP_API InitializePreviewGeometryLines(const FPhysicsDataCollection& PhysicsData, UPreviewGeometry* PreviewGeom,
|
2022-04-22 15:40:09 -04:00
|
|
|
const FColor& LineColor, float LineThickness, float DepthBias = 0.0, int32 CircleStepResolution = 16, bool bRandomColors = true );
|
2020-09-01 14:07:48 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|