OGL2DTextShader (object)

バージョン 2.4.0 で追加.

The OGL2DTextShader inherits the OGLInlineShader. It extends the OGLInlineShader for shading 2D text (screen space).

Attributes

Name Type Description
textVertex Vec2 Text vertices
texcoord Vec2 Texture (atlas) coordinates
color Color Text color
stringPos Vec3 Text position (world)

OGL2DTextShader OGL2DTextShader OGL2DTextShader OGLInlineShader OGLInlineShader OGL2DTextShader->OGLInlineShader InlineEntityBase InlineEntityBase OGLInlineShader->InlineEntityBase InlineShader InlineShader OGLInlineShader->InlineShader InlineEntity InlineEntity InlineEntityBase->InlineEntity

Methods in detail

OGL2DTextShader ( in OGL2DTextShader other )

copy constructor


OGL2DTextShader ( in String name )

default constructor taking a name


OGL2DTextShader ()

default constructor


OGL2DTextShader OGL2DTextShader.clone? ()

clone method