Files
UnrealEngineUWP/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/Physics/CollisionGeometryVisualization.h
Jimmy Andrews 97659cdfcb add a "Random Colors" option to the collision geometry visualizations
#rb rinat.abdrashitov
#preflight 6262fd04f606b184f0a24e03

[CL 19870471 by Jimmy Andrews in ue5-main branch]
2022-04-22 15:40:09 -04:00

22 lines
671 B
C++

// 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.
*/
void MESHMODELINGTOOLSEXP_API InitializePreviewGeometryLines(const FPhysicsDataCollection& PhysicsData, UPreviewGeometry* PreviewGeom,
const FColor& LineColor, float LineThickness, float DepthBias = 0.0, int32 CircleStepResolution = 16, bool bRandomColors = true );
}
}