Skip to content

UI.GetProperty

Name - Description Default Type
<input> The value is ignored.
<output> The value produced. Float4
Property Which property to read from the UI. None UIProperty

Retrieves values from the current state of the UI.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
(GFX.MainWindow
 :Contents
 (->
  (Setup
   (GFX.DrawQueue) >= .ui-draw-queue
   (GFX.UIPass .ui-draw-queue) >> .render-steps)
  (UI
   .ui-draw-queue
   (UI.CentralPanel
    :Contents
    (->
     (UI.GetProperty UIProperty.RemainingSpace)
     (Once (Log)))))))
[info] [shards/UI/GetProperty/1.edn] (8, 8, 1272, 712)
[2023-03-24 02:37:30.652] [GFX] [warning] [render_graph.cpp:151] Failed to attach render graph output 0 (color), possibly because no frame writes to it.