From 8543c5599c3439e205b377b3972ba007a85cf4e6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 3 Aug 2022 02:44:13 +0200 Subject: [PATCH] Document Camera's frustum offset property requiring Frustum projection --- doc/classes/Camera.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Camera.xml b/doc/classes/Camera.xml index 927b7b31878..a9d45fc888a 100644 --- a/doc/classes/Camera.xml +++ b/doc/classes/Camera.xml @@ -100,7 +100,7 @@ - Sets the camera projection to frustum mode (see [constant PROJECTION_FRUSTUM]), by specifying a [code]size[/code], an [code]offset[/code], and the [code]z_near[/code] and [code]z_far[/code] clip planes in world space units. + Sets the camera projection to frustum mode (see [constant PROJECTION_FRUSTUM]), by specifying a [code]size[/code], an [code]offset[/code], and the [code]z_near[/code] and [code]z_far[/code] clip planes in world space units. See also [member frustum_offset]. @@ -164,6 +164,7 @@ The camera's frustum offset. This can be changed from the default to create "tilted frustum" effects such as [url=https://zdoom.org/wiki/Y-shearing]Y-shearing[/url]. + [b]Note:[/b] Only effective if [member projection] is [constant PROJECTION_FRUSTUM]. The horizontal (X) offset of the camera viewport.