Sonolus Wiki

Runtime UI

Runtime UI block is used to pass UI layout information back to Sonolus.

Identifier

const RuntimeUIId = 1003

Values

IndexInitial ValueDescription
0-80Layout information of menu UI
9-170Layout information of progress UI

For each UI:

IndexInitial ValueDescription
UI offset + 00Anchor X
UI offset + 10Anchor Y
UI offset + 20Pivot X
UI offset + 30Pivot Y
UI offset + 40Width
UI offset + 50Height
UI offset + 60Rotation
UI offset + 70Alpha
UI offset + 80Background

Access

CallbackReadWrite
preprocess
render

Remarks

It is recommended to adjust UI layout based on various factors such as screen aspect ratio and Runtime UI Configuration.