Readonly
autoWhether CSS dimensions of canvas view should be resized to screen dimensions automatically.
Readonly
backgroundBackground color, alpha and clear behavior
Readonly
eventsReadonly
extractReadonly
heightthe height of the screen
Readonly
lastthe last object rendered by the renderer. Useful for other plugins like interaction managers
Optional
multisampleThe number of MSAA samples of the renderer.
Readonly
optionsThe options passed in to create a new instance of the renderer.
Readonly
pluginsCollection of plugins
Readonly
prepareReadonly
rendererWhen logging Pixi to the console, this is the name we will show
Readonly
renderingFlag if we are rendering to the screen vs renderTexture
The resolution / device pixel ratio of the renderer.
Readonly
runnersa collection of runners defined by the user
Readonly
screenMeasurements of the screen. (0, 0, screenWidth, screenHeight). Its safe to use as filterArea or hitArea for the whole stage.
Readonly
typeThe type of the renderer.
PIXI.RENDERER_TYPE
Readonly
viewThe canvas element that everything is drawn to.
Readonly
widththe width of the screen
A function that will run a runner and call the runners function but pass in different options to each system based on there name.
E.g. If you have two systems added called systemA
and systemB
you could call do the following:
system.emitWithCustomOptions(init, {
systemA: {...optionsForA},
systemB: {...optionsForB},
});
init
would be called on system A passing optionsForA
and on system B passing optionsForB
.
the runner to target
key value options for each system
Optional
options: IGenerateTextureOptionsOptional
options: IRendererRenderOptionsGenerated using TypeDoc
Standard Interface for a Pixi renderer.
Memberof
PIXI