IMeshBuilder1.UsePrimitive
IMeshBuilder<TMaterial>.UsePrimitive method
Creates, or uses an existing primitive using material.
public IPrimitiveBuilder 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
- interface IPrimitiveBuilder
- interface IMeshBuilder<TMaterial>
- namespace Aspose.CAD.FileFormats.GLB.Geometry
- assembly Aspose.CAD