shows the whole in-progress text at once
Destroys this text renderable and optionally its style texture.
Optionaloptions: DestroyOptions
Options parameter. A boolean will act as if all options have been set to that value
avoids the re-render when the markdown source has not actually changed
Shows markdown value progressively, speed visible characters per second -
markers never count toward the total and never leak half-shown, which is exactly
what a plain character slice over the source would get wrong. Driven by
updateReveal(dt) like Label's own reveal, for the same reason: a label owns no
update loop of its own.
Optionalspeed: numberadvances an in-progress reveal; returns true when nothing is left to show
A label that renders basic inline markdown (
**bold**,__bold__,*italic*,_italic*, combined***both***) through Pixi'sHTMLText, which is what makes mixed styles inside one string possible at all - plainTextstyles the whole string or nothing, which is exactly whatLabelstays for.Costs more than a
Label: HTML text measures and re-renders through the DOM rather than one canvas texture upload, so this is for descriptions, dialogue lines and help bodies, not for a number updated every frame. For the same reason it does not suitMessageBox's typewriter reveal - a half-revealed**boshows its markers literally.Example