class
PrimitiveBuilder
public abstract class PrimitiveBuilder Build primitives out of polygons.
Properties
| Name | Type | Description |
|---|---|---|
Is2D virtual | Boolean | If this primitive is 2D the bounds box will be limited to have no depth. |
Material | Material | The material to use for this whole primitive. |
Methods
virtual Void Build(PolygonMesh mesh) Create the primitive in the mesh.
virtual Void SetFromBox(BBox box) Setup properties from box.