Source Academy Modules
    Preparing search index...

    Function overlay_frac

    • The depth range of the z-axis of a rune is [0,-1], this function gives a [0, -frac] of the depth range to rune1 and the rest to rune2.

      Parameters

      • frac: number

        Fraction between 0 and 1 (inclusive)

      • rune1: string

        Given Rune

      • rune2: string

        Given Rune

      Returns string

      Resulting Rune