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

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

Inheritance Chain

Derived Classes

Properties

    public AABB CustomAabb { get; set; }

    public Material Material { get; set; }

The current Material of the primitive mesh.

Methods

    public AABB GetCustomAabb()

Getter for CustomAabb

    public Material GetMaterial()

Getter for Material

    public Array GetMeshArrays()

    public void SetCustomAabb(AABB aabb)

Setter for CustomAabb

    public void SetMaterial(Material material)

Setter for Material

Tags: