Skip to content

setReadView beta ​

Function of @v12-engine/render

ts
export declare function setReadView(view: ReadView, position: Vec3, z: Vec3, right: Vec3, up: Vec3, tanX: number, tanY: number, near: number, far: number): void;

The view of a camera with perspective at position, looking along z (of length 1), its right and up right, up (of length 1), half as wide as tanX and as high as tanY at a depth of 1, from near to far