跳转到内容

createProgress

此内容尚不支持你的语言。

createProgress(opts): ProgressHandle

Defined in: ui/widgets/progress.ts:49

Linear progress bar. Two entities: a track (background) and a fill child that stretches over the track as a UIVisualType.Filled visual — setValue writes fillAmount, so the bar is a render-time crop with no per-frame layout pass, and a sprite fill reveals (not stretches). Direction selects the fill axis/origin.

ProgressOptions

ProgressHandle