| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/UVLayoutPreview.h |
Include |
#include "Drawing/UVLayoutPreview.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient)
class UUVLayoutPreview : public UObject
UUVLayoutPreview is a utility object that creates and manages a 3D plane on which a UV layout for a 3D mesh is rendered. The UV layout
Name | Description | ||
---|---|---|---|
|
BackingRectangleMaterial |
Configure the backing rectangle material |
|
|
bSettingsModified |
||
|
bShowBackingRectangle |
Configure whether the backing rectangle should be shown |
|
|
CameraState |
||
|
CurrentWorldFrame |
||
|
UPreviewMesh &#... |
PreviewMesh |
PreviewMesh is initialized with a copy of an input mesh with UVs mapped to position, ie such that (X,Y,Z) = (U,V,0) |
|
Settings |
Visualization settings |
|
|
SourceMaterials |
||
|
SourceObjectFrame |
||
|
SourceObjectWorldBounds |
||
|
TriangleComponent |
Set of additional triangles to draw, eg for backing rectangle, etc |
Name | Description | |
---|---|---|
|
~UUVLayoutPreview() |
Name | Description | ||
---|---|---|---|
|
CreateInWorld ( |
Create preview mesh in the World with the given transform |
|
|
Disconnect() |
Remove and destroy preview mesh |
|
|
float |
GetCurrentScale() |
|
|
OnTick ( |
Tick the UV Layout Preview, allowing it to upodate various settings |
|
|
RecalculatePosition() |
||
|
Render ( |
Render the UV Layout Preview, allowing it to upodate various settings |
|
|
SetCurrentCameraState ( |
Update the current camera state, used to auto-position the UV layout preview |
|
|
SetSourceMaterials ( |
Configure material set for UV-space preview mesh |
|
|
SetSourceWorldPosition ( |
Specify the current world transform/bounds for the target object. |
|
|
SetTransform ( |
Set the transform on the UV Layout preview mesh |
|
|
SetVisible ( |
Set the visibility of the UV Layout preview mesh |
|
|
UpdateUVMesh ( |
Notify the UV Layout Preview that the source UVs have been modified |