Skip to content

Z.CameraTransform

Z.CameraTransform operates as a Z.Group except that the coordinate system has the following properties:

  • Centered at the centre of the device’s screen

  • Perspective projection with the focal length of the device’s camera (or set by the focalLength parameter)

Position objects with a negative Z position for them to be visible.

A globally accessible instance of this object is available at Z.camera for convenience.