MeshBuilder4.UsePrimitive
MeshBuilder<TMaterial,TvG,TvM,TvS>.UsePrimitive method
Creates, or uses an existing primitive using material.
public PrimitiveBuilder<TMaterial, TvG, TvM, TvS> UsePrimitive(TMaterial material,
int primitiveVertexCount = 3)
Parameter | Type | Description |
---|---|---|
material | TMaterial | The material used by the primitive. |
primitiveVertexCount | Int32 | Defines the primitive type. |
Return Value
An instance of IPrimitiveBuilder
.
See Also
- class PrimitiveBuilder<TMaterial,TvG,TvM,TvS>
- class MeshBuilder<TMaterial,TvG,TvM,TvS>
- namespace Aspose.CAD.FileFormats.GLB.Geometry
- assembly Aspose.CAD