s&box docs

public sealed class Editor.MeshEditor.PrimitiveBuilder.PolygonMesh

A list of vertices and faces.

Constructors

Showing 1 constructors

public PolygonMesh()

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.

Properties

Showing 2 properties

public System.Collections.Generic.List`1<Vector3> Editor.MeshEditor.PrimitiveBuilder.PolygonMesh.Vertices { get; set; }

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.MeshEditor.PrimitiveBuilder.PolygonMesh

On this page