Preparing search index...
The search index is not available
Source Academy Modules
Source Academy Modules
csg
prism
Function prism
prism
(
hex
)
:
Shape
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
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Source Academy Modules
Loading...
Returns an upright triangular prism Shape in the specified color.