Show / Hide Table of Contents

    Class Buffer4Template

    Collection of premade, reusable primitive shapes

    public static class Buffer4Template
    Namespace Engine4.Internal
    Inheritance
    System.Object
    Buffer4Template

    Methods

    DrawCubeUV(Buffer4)

    Add basic cube UV profile

    public static void DrawCubeUV(Buffer4 buffer)

    DrawQuadUV(Buffer4)

    Add basic quad UV profile

    public static void DrawQuadUV(Buffer4 buffer)

    MakeHypercube(Buffer4, Vector4)

    Draw hypercube to the buffer

    public static void MakeHypercube(Buffer4 buffer, Vector4 extent)

    MakeHyperfrustum(Buffer4, Single, Single, Single, Single)

    Draw frustum to the buffer

    public static void MakeHyperfrustum(Buffer4 buffer, float min, float max, float focal, float perspectiveness)

    MakeHypersphere(Buffer4, Single, Int32)

    Draw subdividable hypersphere to the buffer

    public static void MakeHypersphere(Buffer4 buffer, float radius, int subdivision = 8)

    MakeHypersphereMeridians(Buffer4, Single, Int32)

    Draw hypersphere meridians to the buffer

    public static void MakeHypersphereMeridians(Buffer4 buffer, float radius, int subdivision = 24)
    ▲ Copyright © 2017 Wello Soft