RectangleTexture_v5 Op
draws a 2d rectangle into a texture.
Summary (oneliner)
draws a rectangle into a texture. the rectangle can now positioned via multiple coordinate systems
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: integer)
Alpha Mask index (Number: integer) Off On
Position
Coordinates index (Number: integer) 0-1 -1-1 Pixel
Center (Number: boolean)
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)
Trigger out
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 |