You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added a utility function to convert a number to a string while being able to specify the fractional precision if the number is below a certain other number. #rb ryan.schmidt #rnx #jira UE-129531 #preflight 61a02381902e796b32edbe1f #ROBOMERGE-AUTHOR: rinat.abdrashitov #ROBOMERGE-SOURCE: CL 18310719 in //UE5/Release-5.0/... via CL 18310850 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) #ROBOMERGE[STARSHIP]: UE5-Main [CL 18310947 by rinat abdrashitov in ue5-release-engine-test branch]
33 lines
670 B
C++
33 lines
670 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "InteractiveToolBuilder.h"
|
|
#include "GeometryBase.h"
|
|
#include "MeshAnalysisProperties.generated.h"
|
|
|
|
|
|
// predeclarations
|
|
PREDECLARE_USE_GEOMETRY_CLASS(FDynamicMesh3);
|
|
|
|
|
|
|
|
UCLASS()
|
|
class MESHMODELINGTOOLSEXP_API UMeshAnalysisProperties : public UInteractiveToolPropertySet
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
/** In meters squared */
|
|
UPROPERTY(VisibleAnywhere, Category = MeshAnalysis)
|
|
FString SurfaceArea;
|
|
|
|
/** In cubic meters */
|
|
UPROPERTY(VisibleAnywhere, Category = MeshAnalysis)
|
|
FString Volume;
|
|
|
|
void Update(const FDynamicMesh3& Mesh, const FTransform& Transform);
|
|
};
|
|
|