bgiIsGizmoVisible

Checks whether a gizmo control is currently visible. Takes gizmo (Int). Returns stored isVisible boolean value from CGizmo structure on success, -1 if gizmo not found.

BGI GUI

Parameters & Returns

Parameters

gizmo Int

Returns

Int

Quick Summary

Checks whether a gizmo control is currently visible. Takes gizmo (Int). Returns stored isVisible boolean value from CGizmo structure on success, -1 if gizmo not found.

Technical Exegesis...

Checks whether a gizmo control is currently visible. Searches gizmoMap for the gizmo ID. Returns stored isVisible boolean value from CGizmo structure on success, -1 if gizmo not found.

This function returns the visibility state of a control. Returns 1 (true) if visible, 0 (false) if hidden, -1 if gizmo not found. Reflects the state set by bgiSetGizmoVisibility or creation default (typically visible). Use for conditional rendering logic, toggling visibility, or UI state queries.

Example

Example.bam
; No example implemented yet