Search Results for

    Show / Hide Table of Contents

    Class ExMV4

    Functions that return V4.
    Note that these are also used for colors, in the format R G B A (0-1 floats).

    Inheritance
    System.Object
    ExMV4
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Danmokou.DMath.Functions
    Assembly: cs.temp.dll.dll
    Syntax
    public static class ExMV4

    Methods

    Black()

    Declaration
    public static tv4 Black()
    Returns
    Type Description
    tv4

    Blue()

    Declaration
    public static tv4 Blue()
    Returns
    Type Description
    tv4

    Green()

    Declaration
    public static tv4 Green()
    Returns
    Type Description
    tv4

    MulA(tfloat, tv4)

    Multiply a color's alpha component by a float value.

    Declaration
    public static tv4 MulA(tfloat a, tv4 tp)
    Parameters
    Type Name Description
    tfloat a
    tv4 tp
    Returns
    Type Description
    tv4

    Orange()

    Declaration
    public static tv4 Orange()
    Returns
    Type Description
    tv4

    Palette(String, Palette.Shade)

    Declaration
    public static tv4 Palette(string palette, Palette.Shade shade)
    Parameters
    Type Name Description
    System.String palette
    Palette.Shade shade
    Returns
    Type Description
    tv4

    Pink()

    Declaration
    public static tv4 Pink()
    Returns
    Type Description
    tv4

    Purple()

    Declaration
    public static tv4 Purple()
    Returns
    Type Description
    tv4

    Red()

    Declaration
    public static tv4 Red()
    Returns
    Type Description
    tv4

    RGB(tfloat, tfloat, tfloat)

    Derive a color from R, G, B components. Alpha is set to 1.

    Declaration
    public static tv4 RGB(tfloat r, tfloat g, tfloat b)
    Parameters
    Type Name Description
    tfloat r
    tfloat g
    tfloat b
    Returns
    Type Description
    tv4

    RGBA(tfloat, tfloat, tfloat, tfloat)

    Derive a color from R, G, B, A components.

    Declaration
    public static tv4 RGBA(tfloat r, tfloat g, tfloat b, tfloat a)
    Parameters
    Type Name Description
    tfloat r
    tfloat g
    tfloat b
    tfloat a
    Returns
    Type Description
    tv4

    Teal()

    Declaration
    public static tv4 Teal()
    Returns
    Type Description
    tv4

    TP3A(tfloat, tv3)

    Derive a color from a vector3 containing R, G, B components and an separate alpha component.

    Declaration
    public static tv4 TP3A(tfloat a, tv3 tp)
    Parameters
    Type Name Description
    tfloat a
    tv3 tp
    Returns
    Type Description
    tv4

    WithA(tfloat, tv4)

    Combine the R,G,B components of a vector4 and a separate alpha component.

    Declaration
    public static tv4 WithA(tfloat a, tv4 tp)
    Parameters
    Type Name Description
    tfloat a
    tv4 tp
    Returns
    Type Description
    tv4

    Yellow()

    Declaration
    public static tv4 Yellow()
    Returns
    Type Description
    tv4
    In This Article
    Back to top Generated by DocFX