Blender V5.3
blender::ui::HudRegionData Struct Reference

Public Attributes

short regionid
int region_index_hint

Detailed Description

Definition at line 95 of file interface_region_hud.cc.

Member Data Documentation

◆ region_index_hint

int blender::ui::HudRegionData::region_index_hint

The region index of this region type in the area. When this cannot be resolved, use the first region of regionid.

This is needed because it's possible the index is no longer available if exiting quad-view in the 3D viewport after performing an operation for example. so in this case use the first region.

Definition at line 105 of file interface_region_hud.cc.

Referenced by blender::ui::ED_area_type_hud_ensure(), blender::ui::ED_area_type_hud_redo_region_find(), blender::ui::hud_panel_operator_redo_poll(), and blender::ui::hud_region_layout().

◆ regionid


The documentation for this struct was generated from the following file: