API ReferenceEditor.MeshEditor
public abstract class Editor.MeshEditor.PrimitiveBuilder
Build primitives out of polygons.
Constructors
Showing 1 constructors
protected PrimitiveBuilder()
No results match this filter.
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.
No results match this filter.
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.
public Sandbox.Material Editor.MeshEditor.PrimitiveBuilder.Material { get; set; }
The material to use for this whole primitive.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor.MeshEditor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.MeshEditor.PrimitiveBuilder |