Documentation

Draw 3D Box - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Render Context :: Draw 3D Box

GUI.RenderContext.Draw3DBox(
  Center 3D Vector,
  Size 3D Vector,
  Orientation 4D Vector (Quaternion),
  Border Color Color,
  Fill Color Color
) 
Draws a 3D rectangular prism (or cube) defined by its center, size, orientation, and colors for border and fill

Parameters

Center 3D Vector
Center point of the box in 3D space
Size 3D Vector
Dimensions of the box, specifying its width, height, and depth
Orientation 4D Vector (Quaternion)
Orientation of the box
Border Color Color
Color of the box's border
Fill Color Color
Color used to fill the box

Return Value

Nothing

If you think anything is missing, please feel free to: submit documentation feedback on this page