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

TextTexture_v4 Op

Ops.Gl.Textures.TextTexture_v4


TextTexture
Collections:drawText  
Namespace: Ops.Gl.Textures

Op author: pandur

Generates a texture of Text using one of the font ops




Inputs

Render (Trigger)

trigger input

text (String)

text to be put in the texture

Size

font (String)

the font to be used

weight (String)
Maximize Size (boolean /Number)

check to maximize size

fontSize (Number)

font size

Line Height (Number)

line height of text

Vertical Offset (Number)

vertical offset of text

Show Debug (boolean /Number)

show outlines for debugging

Limit Lines (integer /Number)

maximum line amount

Texture

texture width (integer /Number)

width of texture

texture height (integer /Number)

height of texture

filter index (integer /Number)
Wrap index (integer /Number)

Texture

Anisotropic index (integer /Number)

Alignment

align index (integer /Number)
vertical align index (integer /Number)
Reuse Texture (boolean /Number)

check if texture should be reused

Rendering

Draw Mesh (boolean /Number)

check if rectangle with the texture should be drawn

Scale Mesh (Number)

size of the mesh

Hard Edges (boolean /Number)

check for hard edges

Opacity (Number)

alpha value of texture

Color

r (Number)

r color of text

g (Number)

g color of text

b (Number)

b color of text

Outputs

Next (Trigger)

trigger output

Ratio (Number)

width / height ratio of texture

texture (Object)

texture output

Aspect (Number)

aspect ratio of texture canvas

Num Lines (Number)

amount of lines in text

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

textTexture example

Open Example In Editor


Youtube Video Tutorial

Patches using TextTexture_v4

Changelog


added core lib: cgl_wireframes
2020-08-09 - pandur

Ops.User.pandur.Text4 renamed to Ops.Gl.Textures.TextTexture4
2020-08-09 - pandur

Ops.Gl.Textures.TextTexture4 renamed to Ops.Gl.Textures.TextTexture_v4
2020-08-09 - pandur