VISU - PHP Game Framework

TextLabelRenderGroup
in package

Table of Contents

Properties

$fontHandle  : string
The font handle of this group.
$isStatic  : bool
Wherever this group is static or not.
$vertexArray  : BasicVertexArray
Simple vertex array to store the transformed character vertices of the entire group.
$labels  : array<string|int, TextLabel>
The Text labels inside this group

Methods

__construct()  : mixed
Constructor
addLabel()  : void
Adds a text label to this group.
clear()  : void
Removes all text labels from this group.
getLabels()  : array<string|int, TextLabel>
Returns the text labels in this group.
markClean()  : void
Mark all labels as clean.
removeLabel()  : void
Removes a given text label from this group.
requiresRebuild()  : bool
Requires rebuild Returns true if any of the labels in this group requires a rebuild.

Properties

Methods

markClean()

Mark all labels as clean.

public markClean() : void

Keep in mind that the transforms only become clean if the matrix is fetched

requiresRebuild()

Requires rebuild Returns true if any of the labels in this group requires a rebuild.

public requiresRebuild() : bool
Return values
bool

        
On this page

Search results