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

Picker Op

Ops.Gl.Shader.Picker


Picker
Namespace: Ops.Gl.Shader

Op author: tim

Test if the mouse hovers over drawn elements


note: picker op has a built in Use Mouse Coordinates toggle that will also work with touchscreen controls. You don't need to plug in a mouse or touchscreen op to it then.



Inputs

render (Trigger)
Use Mouse Coordinates (boolean /Number)
x (Number)
y (Number)
enabled (boolean /Number)
cursor index (integer /Number)

Outputs

trigger (Trigger)
Something Picked (boolean Number)
pick texture (Object)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Mouse Mesh Picking

Open Example In Editor

Patches using Picker

Changelog


code cleanup - ports
2019-05-28 - andro