类 BackgroundSettings

java.lang.Object
polaris.sdk.ui.BackgroundSettings

public final class BackgroundSettings extends Object
Mutable standalone-background settings, separate from the UI's material/palette. Host integrations may read these settings, but remain responsible for their own scene. Mutate on the Ui/render thread, or through Ui.post().
  • 构造器详细资料

  • 方法详细资料

    • grid

      public boolean grid()
    • grid

      public BackgroundSettings grid(boolean enabled)
    • animated

      public boolean animated()
    • animated

      public BackgroundSettings animated(boolean enabled)
    • time

      public float time(double now)
      Advance the background clock; pausing freezes the current frame instead of resetting to zero.
    • resetTime

      public void resetTime()
      Explicitly restart the background animation. Does not change grid or pause settings.