AppConfig
Indexable
[key
: string
]: any
Constructors
new AppConfig()
new AppConfig(
pConfig
?):AppConfig
Parameters
• pConfig?: Partial
<IApplicationOptions
> & object
Returns
Source
Properties
antialias?
optional
antialias:boolean
Source
autoDensity?
optional
autoDensity:boolean
Source
autoStart?
optional
autoStart:boolean
Source
backgroundColor?
optional
backgroundColor:number
Source
clearBeforeRender?
optional
clearBeforeRender:boolean
Source
forceCanvas?
optional
forceCanvas:boolean
Source
forceFXAA?
optional
forceFXAA:boolean
Source
height?
optional
height:number
Source
powerPreference?
optional
powerPreference:"default"
|"high-performance"
|"low-power"
Source
preserveDrawingBuffer?
optional
preserveDrawingBuffer:boolean
Source
resizeOptions?
optional
resizeOptions:Partial
<ResizeManagerOptions
>
Source
resizeTo?
optional
resizeTo:Window
|HTMLElement
Source
resolution?
optional
resolution:number
Source
sharedLoader?
optional
sharedLoader:boolean
Source
sharedTicker?
optional
sharedTicker:boolean
Source
transparent?
optional
transparent:boolean
Source
useNewResizeManager?
optional
useNewResizeManager:boolean
Source
useSpine?
optional
useSpine:boolean
Source
view?
optional
view:HTMLCanvasElement
Source
width?
optional
width:number