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)

<p>Trigger in</p>

Blending

Amount (Number)

<p>Blend amount</p>

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)

<p>The x position of the rectangle</p>

Y (Number)

<p>The y position of the rectangle</p>

Inner (Number)

Size

Width (Number)

<p>Width of the rectangle</p>

Height (Number)

<p>Height of the rectangle</p>

Rotate (Number)

<p>Rotates the rectangle</p>

roundness (Number)

<p>Softens the 4 corners</p>

Color

r (Number)

<p>Red amount</p>

g (Number)

<p>Green amount</p>

b (Number)

<p>Blue amount</p>

a (Number)

<p>Alpha amount</p>

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