Source Academy Modules
Preparing search index...
csg
pyramid
Function pyramid
pyramid
(
hex
:
string
)
:
Shape
Returns a square pyramid Shape in the specified color.
Height: 1
Base length: 1
Center: (0.5, 0.5, 0.5)
Parameters
hex
:
string
hex color code
Returns
Shape
Settings
Theme
OS
Light
Dark
Source Academy Modules
Loading...
Returns a square pyramid Shape in the specified color.