A CSG Mesh shape that uses a mesh resource.
    public class CSGMesh : CSGPrimitive

This CSG node allows you to use any mesh resource as a CSG shape, provided it is closed, does not self-intersect, does not contain internal faces and has no edges that connect to more then two faces.

Inheritance Chain

Constructors

    public CSGMesh()

Properties

    public Material Material { get; set; }

    public Mesh Mesh { get; set; }

The mesh resource to use as a CSG shape.

Methods

    [Obsolete("GetMaterial is deprecated. Use the Material property instead.")]
    public Material GetMaterial()

Getter for Material

    [Obsolete("GetMesh is deprecated. Use the Mesh property instead.")]
    public Mesh GetMesh()

Getter for Mesh

    [Obsolete("SetMaterial is deprecated. Use the Material property instead.")]
    public void SetMaterial(Material material)

Setter for Material

    [Obsolete("SetMesh is deprecated. Use the Mesh property instead.")]
    public void SetMesh(Mesh mesh)

Setter for Mesh

Tags: