Source Academy Modules
    Preparing search index...

    Function prism

    • Returns an upright triangular prism Shape in the specified color.

      • Height: 1
      • Side length: 1
      • Center: (0.5, 0.5, 0.5)

      Parameters

      • hex: string

        hex color code

      Returns Shape