GFX.WindowInsets¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of this shard is ignored. | None |
||
Output ➡️ |
The window inset values as a float4. | Float4 |
||
Window |
No | The window to get the insets of. | none |
None Var(Object) |
Retrieves the window inset values when rendering on mobile devices and screens with a keep-out area.
Details¶
The first element in the float4 output of this shard, represents the left inset, the second represents the right inset, the third represents the top inset, and the fourth represents the bottom inset.
If no window is specified in the Window
parameter, the window of the current context (set by GFX.MainWindow
) is used.