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

ScaleTexture_v2 Op

ScaleTexture

Scales a texture


Use this to "zoom" in or out of a texture


Edit Documentation

Full Name
  • Ops.Gl.ImageCompose.ScaleTexture_v2
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

Example Patch Scale texture example

Scale a texture on the x and y axis

Open In Editor

INPUT PORTS


render (Trigger)

Trigger in

Multiplier (Object:texture)

Blending

Blend Mode index (Number:integer )
Amount (Number)

Amount of blend to apply

Scale X (Number)

scale on the x axis

Scale Y (Number)

scale on the y axis

offset X (Number)

Offset on the X axis

offset Y (Number)

Offset on the Y axis

center X (Number)

Changes the center point on the X axis

center Y (Number)

Changes the center point on the Y axis

Clear (Number:boolean )

OUTPUT PORTS


trigger (Trigger)

Trigger out


Usages of ScaleTexture_v2

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


added offset and center parameters for better positioninguser avatarpandur - 2019-03-20
cloned op from Ops.Gl.TextureEffects.ScaleTextureuser avatarpandur - 2022-04-25
Ops.User.pandur.ScaleTextureV2 renamed to Ops.Dev.ScaleTextureV2user avatarpandur - 2022-04-25
Ops.Dev.ScaleTextureV2 renamed to Ops.Gl.TextureEffects.ScaleTexture_v2user avatarpandur - 2022-05-23
renameOps.Gl.TextureEffects.ScaleTexture_v2 renamed to Ops.Gl.ImageCompose.ScaleTexture_v2user avatarstephan - 2023-12-06