ContentRectPlugin
Defined in: sdk/src/ui/render/content-rect.ts:14
Registers ContentRect and keeps the sprites and texts that share an entity with one following it.
Only entities whose rect changed since the last run are visited (change tracking), at the end of the update and again at the very end, so a script that resizes something in the frame’s last system still draws it at the new size that frame.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ContentRectPlugin():
ContentRectPlugin
Returns
Section titled “Returns”ContentRectPlugin
Properties
Section titled “Properties”name:
string='contentRect'
Defined in: sdk/src/ui/render/content-rect.ts:15
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”build()
Section titled “build()”build(
app):void
Defined in: sdk/src/ui/render/content-rect.ts:17
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void