FMeshOffsetBaseOp

Base class for Mesh Offset operations (ie displacement along some kind of normal) Optionally duplicates input mesh and joins the two together, either by welding along shared border or creating quad-strip join.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModelingOperators

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingOperators/Public/DeformationOps/MeshOffsetOps.h

Include

#include "DeformationOps/MeshOffsetOps.h"

Syntax

class FMeshOffsetBaseOp : public FSimpleMeshProcessingBaseOp

Remarks

Base class for Mesh Offset operations (ie displacement along some kind of normal) Optionally duplicates input mesh and joins the two together, either by welding along shared border or creating quad-strip join.

Variables

Name Description

Public variable

TSharedPtr < FMe ...

 

BaseNormals

Public variable

bool

 

bCreateShell

Public variable

bool

 

bFixedBoundary

Public variable

FMeshBoundaryCa ...

 

BoundaryCache

Public variable

TSharedPtr < FMe ...

 

BoundaryLoops

Public variable

bool

 

bUseWeightMap

Public variable

FInterval1d

 

OffsetRange

Positive range of offset distances (default offset will be max value unless there is a weightmap)

Public variable

double

 

OffsetSign

Sign of offset, should be +1 or -1

Public variable

TSharedPtr < FIn ...

 

WeightMap

Constructors

Name Description

Public function

FMeshOffsetBaseOp

(
    const FDynamicMesh3 * Mesh
)

Functions

Name Description

Public function

void

 

CalculateOffset

(
    FProgressCancel * Progress
)

Subclasses must implement this function, it should update ResultMesh

Public function Const

double

 

GetOffsetDistance

(
    int32 VertexID,
    double DefaultValue
)

Overridden from FDynamicMeshOperator

Name Description

Public function Virtual

void

 

CalculateResult

(
    FProgressCancel * Progress
)

Calculate the result of the operator. This will populate the internal Mesh and Transform.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback