s&box docs
API ReferenceEditor.MeshEditor

public abstract class Editor.MeshEditor.PrimitiveBuilder

Build primitives out of polygons.

Constructors

Showing 1 constructors

Methods

Showing 2 methods

public virtual void Build(Editor.MeshEditor.PrimitiveBuilder.PolygonMesh mesh)

Create the primitive in the mesh.

public virtual void SetFromBox(BBox box)

Setup properties from box.

Properties

Showing 2 properties

public virtual bool Editor.MeshEditor.PrimitiveBuilder.Is2D { get; set; }

If this primitive is 2D the bounds box will be limited to have no depth.

Metadata

FieldValue
NamespaceEditor.MeshEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.MeshEditor.PrimitiveBuilder

On this page