Show / Hide Table of Contents

    Interface ITessellate

    Namespace: Elements.Geometry.Interfaces
    Assembly: Hypar.Elements.dll
    Syntax
    public interface ITessellate

    Methods

    Tessellate(ref Mesh, Transform, Color)

    Add the tessellated representation of this object to the provided Mesh.

    Declaration
    void Tessellate(ref Mesh mesh, Transform transform = null, Color color = default(Color))
    Parameters
    Type Name Description
    Mesh mesh

    The mesh to which this object's representation will be added.

    Transform transform

    An optional transform to apply to each vertex.

    Color color

    An optional color to apply to each vertex.