UsePixelPerfectCameraBindingOptions
Defined in: packages/three-flatland/src/react/usePixelPerfectCamera.ts:15
Options for binding an existing pixel camera to an R3F root.
Properties
Section titled “Properties”makeDefault?
Section titled “makeDefault?”
optionalmakeDefault?:boolean
Defined in: packages/three-flatland/src/react/usePixelPerfectCamera.ts:17
Install the camera as the R3F root’s default camera. Default: true.
projectionKey?
Section titled “projectionKey?”
optionalprojectionKey?:unknown
Defined in: packages/three-flatland/src/react/usePixelPerfectCamera.ts:22
Change this value when mutating external camera view settings outside the hook so R3F’s derived viewport is synchronized in the same commit.