XR · interface
EyeView
One eye's matrices and where it draws.
Explained in XR.
interface EyeViewimport type { EyeView } from '@driftengine/xr';Properties
| Name | Type | Description |
|---|---|---|
eyereadonly | 'left' | 'right' | 'none' | |
viewreadonly | mat4 | The inverse of the eye's transform, which is what a camera calls its view. |
projectionreadonly | mat4 | |
viewportreadonly | XrViewport | null | Where in the layer's texture this eye belongs, or null when the layer offered none. |