Message HrzProtocol.GizmoLayer
Defined in hrz/protocol/layer/gizmo_layer.proto.
id: uint32
size: float
Size of the gizmo. Unit is set with size_unit.
size_unit: HrzProtocol.UiSizeUnit
bbox_padding: uint32
This is a padding in pixels added to the bounding box of the gizmo
components allowing to change their logical size. It means that the
interaction surface with components surface will be larger, or smaller,
although the gizmo physical size doesn’t change. It is particularly
useful when using gizmos on touch devices. On such device increasing the
overall size of the gizmo as well as the bounding boxes can help the
interactions a lot. A size of 200 pixels with a bbox_padding of 20
are good default values on touch devices. This is in logical pixels.
position: HrzProtocol.GeographicPosition
rotation: HrzProtocol.Quat
components: HrzProtocol.GizmoComponent[]
List of components to activate. If a component is present multiple times, the last configuration is used.
scene_views: HrzProtocol.SceneViewBitset
Select what views the gizmo will be visible in.
visible: bool
grid: HrzProtocol.Grid
Parameters for the grid displayed when a gizmo is moved on a plane.
line: HrzProtocol.Line
Parameters for the line displayed when a gizmo is moved along an axis.