API Referenceglobal
public sealed class Editor.MeshEditor.PrimitiveBuilder.PolygonMesh
A list of vertices and faces.
Constructors
Showing 1 constructors
public PolygonMesh()
No results match this filter.
Methods
Showing 3 methods
public int AddVertex(Vector3 position)
Adds a new vertex to the end of the `Editor.MeshEditor.PrimitiveBuilder.PolygonMesh.Vertices` list.
Parameters
position: Position of the vertex to add.
Returns
The index of the newly added vertex.
No results match this filter.
Properties
Showing 2 properties
public System.Collections.Generic.List`1<Editor.MeshEditor.PrimitiveBuilder.PolygonMesh.Face> Editor.MeshEditor.PrimitiveBuilder.PolygonMesh.Faces { get; set; }
public System.Collections.Generic.List`1<Vector3> Editor.MeshEditor.PrimitiveBuilder.PolygonMesh.Vertices { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.MeshEditor.PrimitiveBuilder.PolygonMesh |