MeshExtruder

public class MeshExtruder : IDisposable
Extrudes a mesh and provides preview

Constructors

MeshExtruder

#Since v6.3
Construct object to extrude given mesh faces, edges and ngons.
public MeshExtruder(
Mesh
inputMesh,
Mesh to use as starting point. Will not be modified.
componentIndices
Mesh faces, edges and ngons to extrude.
)

Finalizer

~MeshExtruder

#
Destructor
~MeshExtruder()

Properties

EdgeBasedUVN

#Since v6.4
Edge based UVN defines UVN directions according to boundary edge directions
public bool EdgeBasedUVN { get; set; }

FaceDirectionMode

#Since v6.3
Face direction mode determines how faces are oriented
public MeshExtruderFaceDirectionMode FaceDirectionMode { get; set; }

KeepOriginalFaces

#Since v6.3
Whether or not to keep original faces.
public bool KeepOriginalFaces { get; set; }

PreviewLines

#Since v6.3
Gets Line objects to preview extruded mesh.
public Line[] PreviewLines { get; }

SurfaceParameterMode

#Since v6.3
Mode for creating surface parameters for extruded areas
public MeshExtruderParameterMode SurfaceParameterMode { get; set; }

TextureCoordinateMode

#Since v6.3
Mode for creating texture coordinates for extruded areas
public MeshExtruderParameterMode TextureCoordinateMode { get; set; }

Transform

#Since v6.3
Transform of extrusion
public Transform Transform { get; set; }

UVN

#Since v6.3
Whether or not to perform extrude in UVN basis.
public bool UVN { get; set; }

Methods

Dispose

#Since v6.3
Dispose of this object and any unmanaged memory associated with it.
public void Dispose()

ExtrudedMesh

#
Creates new extruded mesh. Returns true if any edges or faces were extruded.
public bool ExtrudedMesh(
out Mesh
extrudedMeshOut,
Extruded mesh
componentIndicesOut
Component indices of extruded faces and vertices
)

ExtrudedMesh

#Since v6.3
Creates new extruded mesh. Returns true if any edges or faces were extruded.
public bool ExtrudedMesh(
out Mesh
extrudedMeshOut
Extruded mesh
)

GetWallFaces

#Since v6.16
Return list of faces that were added to connect transformed edges/faces to non-transformed edges/faces.
public List<int> GetWallFaces()
List of wall faces