API 参考 / screenCanvasEnvironment
Function: screenCanvasEnvironment()
screenCanvasEnvironment(
width,height,display?):CanvasEnvironment
Defined in: packages/natsume/src/screen-environment.ts:16
Canvas inputs for a flat 2D host: one unit is one Pixi logical pixel, viewed from z = -1000 along +Z with an orthographic projection. Pair with screenParticleEnvironment.
Parameters
width
number
height
number
display?
number = 0