UISettings

public enum UISettings

General UI settings that affects all views and controls

  • The global render context for the UI system

    Declaration

    Swift

    public static var globalRenderContext: RenderContext?
  • OS-specific method that returns the current time in seconds. Time’s starting value is not defined, but it must increase in steps of 1.0 per 1 second of wall-clock time.

    Declaration

    Swift

    public static var timeInSeconds: TimeInSecondsFunction
  • Attempts to get the global render context of the UI system. Throws a runtime error if globalRenderContext is nil

    Declaration

    Swift

    public static func tryGetRenderContext() -> RenderContext
  • Undocumented

    Declaration

    Swift

    public static func initialize(_ config: Configuration) throws
  • Undocumented

    See more

    Declaration

    Swift

    public struct Configuration