Skip to content

CustomRenderMethodInput

CustomRenderMethodInput: object

Input arguments exposed by custom render function.

Type declaration

farZ

farZ: number

This value represents the distance from the camera to the far clipping plane. It is used in the calculation of the projection matrix to determine which objects are visible. farZ should be larger than nearZ.

fov

fov: number

field of view of camera *

modelViewProjectionMatrix

modelViewProjectionMatrix: mat4

model view projection matrix represents the matrix converting from world space to clip space https://learnopengl.com/Getting-started/Coordinate-Systems *

nearZ

nearZ: number

This value represents the distance from the camera to the near clipping plane. It is used in the calculation of the projection matrix to determine which objects are visible. nearZ should be smaller than farZ.

projectionMatrix

projectionMatrix: mat4

projection matrix represents the matrix converting from view space to clip space https://learnopengl.com/Getting-started/Coordinate-Systems

Defined in

src/style/style_layer/custom_style_layer.ts:9