跳转到内容

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.

new ContentRectPlugin(): ContentRectPlugin

ContentRectPlugin

name: string = 'contentRect'

Defined in: sdk/src/ui/render/content-rect.ts:15

Plugin.name

build(app): void

Defined in: sdk/src/ui/render/content-rect.ts:17

App

void

Plugin.build