.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::Drawing Box === .. class:: Box The edges of a box. Created using :func:`add_box`. | Base class: :class:`Drawable` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawable`: :func:`visible `, :func:`set_visible `, :func:`color `, :func:`set_color `, :func:`material `, :func:`set_material `, :func:`remove ` .. function:: std::tuple center() .. function:: void set_center(std::tuple value) Position of the center of the box. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: std::tuple size() .. function:: void set_size(std::tuple value) Lengths of the sides of the box along its x, y and z axes, in meters. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: std::tuple rotation() .. function:: void set_rotation(std::tuple value) Rotation of the box, as a quaternion. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: SpaceCenter::ReferenceFrame reference_frame() .. function:: void set_reference_frame(SpaceCenter::ReferenceFrame value) Reference frame for the position and rotation of the box. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: float thickness() .. function:: void set_thickness(float value) The thickness of the edges. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph