Navigation
API > API/Plugins > API/Plugins/UVEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UUVEditorDistortionVisualization
References
| Module | UVEditor |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditorDistortionVisualization.h |
| Include | #include "UVEditorDistortionVisualization.h" |
Syntax
UCLASS (Transient)
class UUVEditorDistortionVisualization : public UObject
Remarks
This class contains the logic for handling distortion visualization within the UV Editor. It manages the setting of triangle color and computing the potential metrics used to describe the amount of distortion present in the UVs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSettingsModified | ||
| int32 | MaximumTileTextureResolution | ||
| TArray< double > | PerTargetAverageTexelDensity | ||
| TObjectPtr< UUVEditorDistortionVisualizationProperties > | Settings | ||
| TArray< TObjectPtr< UUVEditorToolMeshInput > > | Targets |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ConfigureMeshColorsForTarget
(
int32 TargetIndex |
||
| FColor | GetDistortionColorForTriangle
(
const UE::Geometry::FDynamicMesh3& Mesh, |
||
| void | Initialize () |
Client must call this after construction and parameter configuration to complete setup. | |
| void | OnTick
(
float DeltaTime |
Client must call this every frame for changes to .Settings to be reflected in rendered result. | |
| void | Shutdown () |
Client must call this before destruction to clean up state. | |
| void |