PixelProjection_v3 Op
Remaps world co-ordinates to a pixel co-ordinate system
Summary (oneliner)
<p>when enabling using viewport size drawing a rectangle with a width/height of 100, the screen space of that rectangle is exactly 100 pixels</p>
- Ops.Gl.PixelProjection_v3
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch 2d pixel coordinates
This patch shows how to get the pixel coordinates of the mouse in the view port.
INPUT PORTS
<p>Trigger the op</p>
Size
<i>integer</i>
) Canvas ViewPort Manual<p>Width if Use Viewport Size is disabled</p>
<p>Height if Use Viewport Size is disabled</p>
Clipping
<i>integer</i>
) Top Left Top Right Center Bottom Right Bottom LeftFlip
<i>boolean</i>
)<i>boolean</i>
)<i>boolean</i>
)OUTPUT PORTS
<p>Trigger out</p>
Patches using PixelProjection_v3
Changelog
created op | pandur - 2019-10-28 16:45 | |
cloned op from Ops.Gl.PixelProjection | pandur - 2023-06-23 13:01 | |
rename | Ops.Patch.P4SCBDz.PixelProjection_v2 renamed to Ops.Gl.PixelProjection_v2 | pandur - 2023-06-23 15:37 |
cloned op from Ops.Gl.PixelProjection_v2 | pandur - 2023-11-27 16:20 | |
rename | Ops.Patch.PenrnhM.PixelProjection_v3 renamed to Ops.Gl.PixelProjection_v3 | pandur - 2023-11-27 16:22 |