Navigation
API > API/Plugins > API/Plugins/ModelingComponents
UPolyEditPreviewMesh is a variant of UPreviewMesh intended for use as a 'live preview' of a mesh creation/editing operation. The class supports initializing the preview mesh in various ways, generally as a submesh of a base mesh.
| Name | UPolyEditPreviewMesh |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/PolyEditPreviewMesh.h |
| Include Path | #include "Drawing/PolyEditPreviewMesh.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class UPolyEditPreviewMesh : public UPreviewMesh
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPreviewMesh → UPolyEditPreviewMesh
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyTranslationToPreview
(
const FTransform& TransformIn, |
Drawing/PolyEditPreviewMesh.h | ||
void InitializeExtrudeType
(
FDynamicMesh3&& BaseMesh, |
Drawing/PolyEditPreviewMesh.h | ||
void InitializeExtrudeType
(
const FDynamicMesh3* SourceMesh, |
"Extrude Type" duplicates the input faces, offsets them using FExtrudeMesh, and stitches them together | Drawing/PolyEditPreviewMesh.h | |
void InitializeInsetType
(
const FDynamicMesh3* SourceMesh, |
"Inset Type" duplicates the input faces and insets them using FInsetMeshRegion | Drawing/PolyEditPreviewMesh.h | |
void InitializeStaticType
(
const FDynamicMesh3* SourceMesh, |
"Static Type" is just a static mesh | Drawing/PolyEditPreviewMesh.h | |
void MakeExtrudeTypeHitTargetMesh
(
FDynamicMesh3& TargetMesh, |
Make a hit-target mesh that is an infinite extrusion along extrude direction. | Drawing/PolyEditPreviewMesh.h | |
void MakeInsetTypeTargetMesh
(
FDynamicMesh3& TargetMeshOut |
Drawing/PolyEditPreviewMesh.h | ||
void MakeStaticTypeTargetMesh
(
FDynamicMesh3& TargetMesh |
Drawing/PolyEditPreviewMesh.h | ||
void UpdateExtrudeType
(
double NewOffset, |
Update extrude-type preview mesh by moving existing offset vertices | Drawing/PolyEditPreviewMesh.h | |
void UpdateExtrudeType
(
TFunctionRef< void(FDynamicMesh3&)> UpdateMeshFunc, |
Update extrude-type preview mesh using external function. | Drawing/PolyEditPreviewMesh.h | |
void UpdateExtrudeType_FaceNormalAvg
(
double NewOffset |
Update extrude-type preview mesh by moving existing offset vertices along their connected triangle normals and then averaging positions | Drawing/PolyEditPreviewMesh.h | |
void UpdateInsetType
(
double NewOffset, |
Drawing/PolyEditPreviewMesh.h | ||
void UpdateStaticType
(
TFunctionRef< void(FDynamicMesh3&)> UpdateMeshFunc, |
Drawing/PolyEditPreviewMesh.h |