API ReferenceEditor.MeshEditor
PrimitiveBuilderclass
Build primitives out of polygons.
object→PrimitiveBuilder
Constructors1
Showing 1 constructors
protected PrimitiveBuilder()
No results match this filter.
Methods2
Showing 2 methods
public virtual void Build(Editor.MeshEditor.PrimitiveBuilder.PolygonMesh mesh)
Create the primitive in the mesh.
| Parameter | Type | Description |
|---|---|---|
| mesh | PolygonMesh | — |
Returns:
void—No results match this filter.
Properties2
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.
Returns:
bool—public Sandbox.Material Editor.MeshEditor.PrimitiveBuilder.Material { get; set; }
The material to use for this whole primitive. Loaded on demand so builders can be created without the render system.
No results match this filter.