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

RectangleTexture_v4 Op

Ops.Gl.TextureEffects.RectangleTexture_v4


RectangleTexture

Op author: pandur

Draw a 2D rectangle with controllable parameters


summary (oneliner)

Handy for creating masks and layers.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Trigger in


Blending

Amount (Number)

Blend amount


Blend Mode index (integer /Number)

Alpha Mask index (integer /Number)

Center (boolean /Number)

Size

Width (Number)

Width of the rectangle


Height (Number)

Height of the rectangle


Position

X (Number)

The x position of the rectangle


Y (Number)

The y position of the rectangle


Rotate (Number)

Rotates the rectangle


roundness (Number)

Softens the 4 corners


Color

r (Number)

Red amount


g (Number)

Green amount


b (Number)

Blue amount


a (Number)

Alpha amount


Outputs

trigger (Trigger)

Trigger out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

rect 2d example v3

Open Example In Editor


Patches using RectangleTexture_v4

Changelog


Ops.User.pandur.Rectangle2d2 renamed to Ops.Gl.TextureEffects.Rectangle_v3
2019-12-04 - pandur

Ops.Gl.TextureEffects.Rectangle_v3 renamed to Ops.Gl.TextureEffects.RectangleTexture_v3
2020-04-20 - pandur

fix bug with alpha rendering
2022-02-08 - pandur

cloned op from Ops.Gl.TextureEffects.RectangleTexture_v3
2022-03-09 - pandur

Ops.User.pandur.RectangleTextureV4 renamed to Ops.Dev.RectangleTextureV4
2022-03-09 - pandur

Ops.Dev.RectangleTextureV4 renamed to Ops.Gl.TextureEffects.RectangleTextureV4
2022-05-09 - pandur

Ops.Gl.TextureEffects.RectangleTextureV4 renamed to Ops.Dev.RectangleTexture_v4
2022-05-09 - pandur

Ops.Dev.RectangleTexture_v4 renamed to Ops.Gl.TextureEffects.RectangleTexture_v4
2022-05-09 - pandur