setCustomProjection
Set a custom projection matrix used for both rendering and culling.
The matrix must define NDC as -1, 1 on all axes (OpenGL convention). For rendering, the far plane is internally set to infinity. For culling, the specified far distance is used.
Parameters
Custom projection matrix (4×4, row-major or column-major per platform)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for rendering and culling separately.
Both matrices must define NDC as -1, 1 on all axes (OpenGL convention). The rendering matrix has its far plane set to infinity internally.
Parameters
Custom projection matrix for rendering
Custom projection matrix for culling (must be finite)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set a custom projection matrix used for both rendering and culling.
The matrix must define NDC as -1, 1 on all axes (OpenGL convention). For rendering, the far plane is internally set to infinity. For culling, the specified far distance is used.
Parameters
Custom projection matrix (4×4, row-major or column-major per platform)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for rendering and culling separately.
Both matrices must define NDC as -1, 1 on all axes (OpenGL convention). The rendering matrix has its far plane set to infinity internally.
Parameters
Custom projection matrix for rendering
Custom projection matrix for culling (must be finite)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set a custom projection matrix used for both rendering and culling.
The matrix must define NDC as -1, 1 on all axes (OpenGL convention). For rendering, the far plane is internally set to infinity. For culling, the specified far distance is used.
Parameters
Custom projection matrix (4×4, row-major or column-major per platform)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for rendering and culling separately.
Both matrices must define NDC as -1, 1 on all axes (OpenGL convention). The rendering matrix has its far plane set to infinity internally.
Parameters
Custom projection matrix for rendering
Custom projection matrix for culling (must be finite)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set a custom projection matrix used for both rendering and culling.
The matrix must define NDC as -1, 1 on all axes (OpenGL convention). For rendering, the far plane is internally set to infinity. For culling, the specified far distance is used.
Parameters
Custom projection matrix (4×4, row-major or column-major per platform)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for rendering and culling separately.
Both matrices must define NDC as -1, 1 on all axes (OpenGL convention). The rendering matrix has its far plane set to infinity internally.
Parameters
Custom projection matrix for rendering
Custom projection matrix for culling (must be finite)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set a custom projection matrix used for both rendering and culling.
The matrix must define NDC as -1, 1 on all axes (OpenGL convention). For rendering, the far plane is internally set to infinity. For culling, the specified far distance is used.
Parameters
Custom projection matrix (4×4, row-major or column-major per platform)
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for rendering and culling separately.
Both matrices must define NDC as -1, 1 on all axes (OpenGL convention). The rendering matrix has its far plane set to infinity internally.
Parameters
Custom projection matrix for rendering
Custom projection matrix for culling (must be finite)
Distance to near plane in world units
Distance to far plane in world units (!= near)