beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
TextTexture
Ops.Gl.Textures.TextTexture_v4
Collections:drawText  
Namespace: Ops.Gl.Textures
Generates a texture which reads Text

summary (oneliner)

doc

issues

youtube id

collections

related 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)

Texture

filter (String)

type of texture filtering to be applied


Anisotropic index (integer /Number)

Texture

Anisotropic (String)

anisotropy value


align index (integer /Number)

Alignment

align (String)

horizontal alignment of text: left, center, right


vertical align index (integer /Number)

Alignment

vertical align (String)

vertical alignment of text: top, center, bottom


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 Documentationcancel save
textTexture example:


video tutorial:

Credits


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

Examples using TextTexture_v4

Public Patches using TextTexture_v4