playcanvas
Version:
PlayCanvas WebGL game engine
14 lines (12 loc) • 416 B
JavaScript
/**
* Always use the application's resolution as the resolution for the {@link ScreenComponent}.
*
* @category User Interface
*/ const SCALEMODE_NONE = 'none';
/**
* Scale the {@link ScreenComponent} when the application's resolution is different than the
* ScreenComponent's referenceResolution.
*
* @category User Interface
*/ const SCALEMODE_BLEND = 'blend';
export { SCALEMODE_BLEND, SCALEMODE_NONE };