Summary

An editable mesh made up of polygons, triangulated into a model

Constructors

PolygonMesh

Properties

FaceHandles All of the face handles being used
HalfEdgeHandles All of the half edge handles being used
IsDirty Has there been changes to the mesh that need rebuilding?
Transform Where is the mesh in worldspace.
VertexHandles All of the vertex handles being used

Methods

AddFace Connect these vertices to make a face
AddVertex Add a vertex to the topology
AddVertexToEdge
AddVertices Add multiple vertices to the topology
ApplyTransform Transform all the vertices
AverageEdgeUVs
AverageVertexUVs
BevelEdges
BevelVertices
BridgeEdges Bridge two edges (create a face connecting them). The edges must both be open and belong to different faces.
CalculateBounds Calculate bounds of all vertices
CollapseEdge
CollapseEdges
CollapseFace
CombineFaces
ComputeFaceNormal
ComputeFaceTextureCoordinatesFromParameters
ComputeFaceTextureParametersFromCoordinates
ConnectEdges
ConnectVertices
CreateFace
CreateFaceInEdgeLoop Add a face filling in the open edge loop specified by the provided edge
DetachFaces
DissolveEdges
ExtendEdges
ExtrudeFaces
FaceHandleFromIndex
FindEdgeIslands
FindEdgeLoopForEdges
FindEdgeRibs
FindEdgeRing
FindFaceVertexConnectedToVertex
FlipAllFaces
GetEdgeLine Get start and end points of an edge
GetEdges Get the start and end points of all edges
GetEdgesConnectedToFace
GetEdgeSmoothing Get the smoothing of this edge
GetEdgeVertexPositions
GetEdgeVertices Get the two vertices of this half edge
GetFaceCenter Calculate the center point of a face
GetFaceEdges Get all edge handles of a face
GetFaceMaterial Get a material a face is using
GetFacePlaneUsingEdge
GetFacesConnectedToVertex
GetFaceTextureParameters
GetFaceVertexPositions
GetFaceVertices Get all vertex handles of a face
GetFaceVerticesConnectedToFace
GetHalfEdgeFace Get the face connected to this half edge
GetNextVertexInFace
GetOppositeFaceConnectedToEdge
GetOppositeHalfEdge
GetTextureOffset Get texture offset of a face
GetTextureScale Get texture scale of a face
GetVertexConnectedToFaceVertex
GetVertexPosition Get the position of a vertex
GetVertexPositions Get the positions of all vertices
GetVerticesConnectedToEdge
HalfEdgeHandleFromIndex
IsEdgeOpen Determine if the specified edge is open (only has one connected face)
JustifyFaceTextureParameters
MergeEdges
MergeMesh
MergeVerticesWithinDistance
QuadSliceFaces
Rebuild Triangulate the polygons into a model
RemoveBadFaces
RemoveEdges
RemoveFaces
RemoveVertex
RemoveVertices
Scale Scale all vertices
SetEdgeSmoothing Set the smoothing of this edge
SetFaceMaterial Assign a material to a face
SetFaceTextureCoords
SetFaceTextureParameters Set face texture properties
SetSmoothingAngle
SetTextureOffset Set texture offset of a face
SetTextureScale Set texture scale of a face
SetVertexPosition Set the position of a vertex
SplitEdges
TextureAlignToFace Align face texture properties to face
TextureAlignToGrid Align face texture properties to grid
TriangleToFace Convert a triangle index to a face handle
UnionExtentsForFaces
VertexHandleFromIndex

Static Methods

GetBestPlanesForEdgeBetweenFaces
GetNearestEdgesBetweenFaces
GetTextureExtents
InsideTriangle
JsonRead
JsonWrite
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.