Base class for all primitive meshes. Handles applying a Material to a primitive mesh.
    public class PrimitiveMesh : Mesh

Base class for all primitive meshes. Handles applying a Material to a primitive mesh.

Inheritance Chain

Derived Classes

Properties

    public Material Material { get; set; }

The current Material of the primitive mesh.

Methods

    public Material GetMaterial()

Getter for Material

    public object[] GetMeshArrays()

    public void SetMaterial(Material material)

Setter for Material

Tags: