.. default-domain:: js .. highlight:: js .. module:: Drawing :no-index: Box === .. class:: Box The edges of a box. Created using :func:`Drawing.addBox`. | Base class: :class:`Drawing.Drawable` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.Drawable`: :meth:`getVisible `, :meth:`setVisible `, :meth:`getColor `, :meth:`setColor `, :meth:`getMaterial `, :meth:`setMaterial `, :meth:`remove ` .. method:: getCenter() setCenter(value) Position of the center of the box. :Property: Can be read or written :rtype: ``[number, number, number]`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: getSize() setSize(value) Lengths of the sides of the box along its x, y and z axes, in meters. :Property: Can be read or written :rtype: ``[number, number, number]`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: getRotation() setRotation(value) Rotation of the box, as a quaternion. :Property: Can be read or written :rtype: ``[number, number, number, number]`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: getReferenceFrame() setReferenceFrame(value) Reference frame for the position and rotation of the box. :Property: Can be read or written :rtype: :class:`SpaceCenter.ReferenceFrame` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: getThickness() setThickness(value) The thickness of the edges. :Property: Can be read or written :rtype: ``number`` :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph