scale | Overall zoom level of the graphics | number | 0.01 to 4 |
rotation | Overall rotation angle of the graphics | number | 0 to 360 |
offsetX | Horizontal offset of the graphics center | number | -1 to 1 |
offsetY | Vertical offset of the graphics center | number | -1 to 1 |
width | CSS width style of the shader element | number | string | — |
height | CSS height style of the shader element | number | string | — |
fit | How to fit the rendered shader into the canvas dimensions | enum | | "contain" | "cover" |
worldWidth | Virtual width of the graphic before it's scaled to fit the canvas | number | — |
worldHeight | Virtual height of the graphic before it's scaled to fit the canvas | number | — |
originX | Reference point for positioning world width in the canvas | number | 0 to 1 |
originY | Reference point for positioning world height in the canvas | number | 0 to 1 |
minPixelRatio | Minimum pixel ratio to use when rendering the shader | number | — |
maxPixelCount | Maximum pixel count that the shader may process | number | — |