Source Academy Modules
    Preparing search index...

    Function cone

    • Returns a cone Shape in the specified color.

      • Height: 1
      • Radius: 0.5
      • Center: (0.5, 0.5, 0.5)

      Parameters

      • hex: string

        hex color code

      Returns Shape