Fix incorrect Camera3D size documentation

This commit is contained in:
Aaron Franke 2022-08-14 16:06:57 -05:00 committed by Relintai
parent 8e94d451b4
commit 6796ecfaf2

View File

@ -178,7 +178,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.