beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

CanvasInBrowserViewport Op

Ops.Gl.CanvasInBrowserViewport


CanvasInBrowserViewport
Namespace: Ops.Gl

Op author: pandur

check if webgl canvas element is in the current browser viewport


The result gets updated after the window was resized or scrolled. You only need to use the Update trigger if you need to check manually.



Inputs

Update (Trigger)

Outputs

Fully Visible (Number)
Partly Visible (Number)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using CanvasInBrowserViewport