RectangleTexture_v5 Op

RectangleTexture

draws a 2d rectangle into a texture.


<p>draws a rectangle into a texture. the rectangle can now positioned via multiple coordinate systems</p>


Full Name
  • Ops.Gl.ImageCompose.RectangleTexture_v5
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


render (Trigger)

Trigger in

Blending

Amount (Number)

Blend amount

Blend Mode index (Number:

<i>integer</i>

)

Alpha Mask index (Number:

<i>integer</i>

)
 Off  On 

Position

Coordinates index (Number:

<i>integer</i>

)
 0-1  -1-1  Pixel 
Center (Number:

<i>boolean</i>

)

X (Number)

The x position of the rectangle

Y (Number)

The y position of the rectangle

Inner (Number)

Size

Width (Number)

Width of the rectangle

Height (Number)

Height 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

Mapping

Map Texture (Object:texture)
Start X (Number)
Start Y (Number)
Map Width (Number)
Map Height (Number)
Mask (Object:texture)

OUTPUT PORTS


trigger (Trigger)

<p>Trigger out</p>


Patches using RectangleTexture_v5

  • Examples
  • Public
  • My Patches

Changelog


featureAdded switch to change coordinates system, e.g. pixel baseduser avatarpandur - 2024-03-12 14:55
featureAdded texturemapping for the rectangle and maskinguser avatarpandur - 2024-03-12 14:56
featureAdded "inner" parameter to create an transparent inner hole in the rectangleuser avatarpandur - 2024-03-13 12:26
featureAdd mapping coordinates position and size to map parts of an image onto the rectangleuser avatarpandur - 2024-03-22 09:57