TextMeshMSDF_v2 Op

TextMeshMSDF

draw text using the FontMSDF operator


<p>Signed distance field based font rendering that must be used with <a href="/op/Ops.Gl.FontMSDF_v2">Ops.Gl.FontMSDF_v2</a></p> <p>more information about the tech behind MSDF: <a href="https://github.com/Chlumsky/msdfgen">https://github.com/Chlumsky/msdfgen</a></p>


Full Name
  • Ops.Gl.TextMeshMSDF_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Render (Trigger)
Text (String)

Size

Scale (Number)
Letter Spacing (Number)
Line Height (Number)

Alignment

Align index (Number:

<i>integer</i>

)
 Left  Center  Right 
Vertical Align index (Number:

<i>integer</i>

)
 Zero  Top  Middle  Bottom 

Color

r (Number)
g (Number)
b (Number)
a (Number)
SDF (Number:

<i>boolean</i>

)

Smoothing (Number)

Border

Border (Number:

<i>boolean</i>

)

Border Width (Number)
Smoothness (Number)
Border r (Number)
Border g (Number)
Border b (Number)
Shadow (Number:

<i>boolean</i>

)

Texture Color (Object:texture)
Texture Mask (Object:texture)

Character Transformations

Positions (Array)
Scalings (Array)
Rotations (Array)
Colors (Array)

OUTPUT PORTS


Next (Trigger)
Positions Original (Array)
Scales (Array)
Num Lines (Number)
Width (Number)
Height (Number)
Start Y (Number)
Num Chars (Number)

Patches using TextMeshMSDF_v2

  • Examples
  • Public
  • My Patches

Changelog


bugfixfix: correctly discard Pixels when fully transparentuser avatarpandur - 2024-08-23 23:43