setShift
Apply a 2D translation shift to the projection matrix after projection.
Shift is specified in NDC coordinates (-1, 1 range). If shifting by pixels: scale by 1.0 / viewport dimensions.
Default: identity (0.0, 0.0).
Parameters
Horizontal shift in NDC
Vertical shift in NDC
Apply a 2D translation shift to the projection matrix after projection.
Shift is specified in NDC coordinates (-1, 1 range). If shifting by pixels: scale by 1.0 / viewport dimensions.
Default: identity (0.0, 0.0).
Parameters
Horizontal shift in NDC
Vertical shift in NDC
Apply a 2D translation shift to the projection matrix after projection.
Shift is specified in NDC coordinates (-1, 1 range). If shifting by pixels: scale by 1.0 / viewport dimensions.
Default: identity (0.0, 0.0).
Parameters
Horizontal shift in NDC
Vertical shift in NDC
Apply a 2D translation shift to the projection matrix after projection.
Shift is specified in NDC coordinates (-1, 1 range). If shifting by pixels: scale by 1.0 / viewport dimensions.
Default: identity (0.0, 0.0).
Parameters
Horizontal shift in NDC
Vertical shift in NDC
Apply a 2D translation shift to the projection matrix after projection.
Shift is specified in NDC coordinates (-1, 1 range). If shifting by pixels: scale by 1.0 / viewport dimensions.
Default: identity (0.0, 0.0).
Parameters
Horizontal shift in NDC
Vertical shift in NDC