RectangleTexture_v5 Op
draws a 2d rectangle into a texture.
Summary (oneliner)
<p>draws a rectangle into a texture. the rectangle can now positioned via multiple coordinate systems</p>
Full Name
- Ops.Gl.ImageCompose.RectangleTexture_v5
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch rect example
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 OnPosition
Coordinates index (Number:
<i>integer</i>
) 0-1 -1-1 PixelCenter (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
Changelog
feature | Added switch to change coordinates system, e.g. pixel based | pandur - 2024-03-12 14:55 |
feature | Added texturemapping for the rectangle and masking | pandur - 2024-03-12 14:56 |
feature | Added "inner" parameter to create an transparent inner hole in the rectangle | pandur - 2024-03-13 12:26 |
feature | Add mapping coordinates position and size to map parts of an image onto the rectangle | pandur - 2024-03-22 09:57 |