Constructors
constructor
- new default(): default
-
Accessors
scaleNativeFactor
- get scaleNativeFactor(): number
-
Returns number
Methods
checkScaleFactor
- checkScaleFactor(): void
-
Returns void
get
- get(): number
-
Returns number
getClamped
- getClamped(scale?: number): number
-
Returns number
getFloor
- getFloor(floor?: number): number
-
Returns number
getMaximum
- getMaximum(): number
-
Returns number
getMinimum
- getMinimum(): number
-
Returns number
getUserSetting
- getUserSetting(): number
-
Returns number
setUserSetting
- setUserSetting(scale: number): void
-
Returns void
update
- update(force?: boolean): void
-
Returns void
Returns the current UI scale (after being clamped by min & max).