[3.x] Fix incorrect Camera3D size documentation

This commit is contained in:
Aaron Franke 2022-08-14 16:06:57 -05:00
parent 1806e414b8
commit cac69ea132
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF

View file

@ -179,7 +179,7 @@
The camera's projection mode. In [constant PROJECTION_PERSPECTIVE] mode, objects' Z distance from the camera's local space scales their perceived size. The camera's projection mode. In [constant PROJECTION_PERSPECTIVE] mode, objects' Z distance from the camera's local space scales their perceived size.
</member> </member>
<member name="size" type="float" setter="set_size" getter="get_size" default="1.0"> <member name="size" type="float" setter="set_size" getter="get_size" default="1.0">
The camera's size measured as 1/2 the width or height. Only applicable in orthogonal and frustum modes. Since [member keep_aspect] locks on axis, [code]size[/code] sets the other axis' size length. The camera's size in meters measured as the diameter of the width or height, depending on [member keep_aspect]. Only applicable in orthogonal and frustum modes.
</member> </member>
<member name="v_offset" type="float" setter="set_v_offset" getter="get_v_offset" default="0.0"> <member name="v_offset" type="float" setter="set_v_offset" getter="get_v_offset" default="0.0">
The vertical (Y) offset of the camera viewport. The vertical (Y) offset of the camera viewport.