Blender V5.0
HudRegionData Struct Reference

Public Attributes

short regionid
int region_index_hint

Detailed Description

Definition at line 93 of file interface_region_hud.cc.

Member Data Documentation

◆ region_index_hint

int 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 103 of file interface_region_hud.cc.

Referenced by ED_area_type_hud_ensure(), ED_area_type_hud_redo_region_find(), hud_panel_operator_redo_poll(), and hud_region_layout().

◆ regionid


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