summaryrefslogtreecommitdiff
path: root/doc/classes/Camera.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-24 23:16:30 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-24 23:16:30 +0100
commit7dfba3cda9f13427f9f10a6eefbec52aef62274c (patch)
tree37231b14dfe24e8597ca5c780bb151696cda9b57 /doc/classes/Camera.xml
parent2bc6db65c14f00de5a0349e910037ca2db7fc103 (diff)
doc: Fix enum tags thanks to 2bc6db6
Diffstat (limited to 'doc/classes/Camera.xml')
-rw-r--r--doc/classes/Camera.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/classes/Camera.xml b/doc/classes/Camera.xml
index 50b21a0eb7..5d6c13498c 100644
--- a/doc/classes/Camera.xml
+++ b/doc/classes/Camera.xml
@@ -249,25 +249,25 @@
</method>
</methods>
<constants>
- <constant name="PROJECTION_PERSPECTIVE" value="0">
+ <constant name="PROJECTION_PERSPECTIVE" value="0" enum="Projection">
Perspective Projection (object's size on the screen becomes smaller when far away).
</constant>
- <constant name="PROJECTION_ORTHOGONAL" value="1">
+ <constant name="PROJECTION_ORTHOGONAL" value="1" enum="Projection">
Orthogonal Projection (objects remain the same size on the screen no matter how far away they are).
</constant>
- <constant name="KEEP_WIDTH" value="0">
+ <constant name="KEEP_WIDTH" value="0" enum="KeepAspect">
Try to keep the aspect ratio when scaling the Camera's viewport to the screen. If not possible, preserve the viewport's width by changing the height. Height is [code]sizey[/code] for orthographic projection, [code]fovy[/code] for perspective projection.
</constant>
- <constant name="KEEP_HEIGHT" value="1">
+ <constant name="KEEP_HEIGHT" value="1" enum="KeepAspect">
Try to keep the aspect ratio when scaling the Camera's viewport to the screen. If not possible, preserve the viewport's height by changing the width. Width is [code]sizex[/code] for orthographic projection, [code]fovx[/code] for perspective projection.
</constant>
- <constant name="DOPPLER_TRACKING_DISABLED" value="0">
+ <constant name="DOPPLER_TRACKING_DISABLED" value="0" enum="DopplerTracking">
Disable Doppler effect simulation (default).
</constant>
- <constant name="DOPPLER_TRACKING_IDLE_STEP" value="1">
+ <constant name="DOPPLER_TRACKING_IDLE_STEP" value="1" enum="DopplerTracking">
Simulate Doppler effect by tracking positions of objects that are changed in [code]_process[/code]. Changes in the relative velocity of this Camera compared to those objects affect how Audio is perceived (changing the Audio's [code]pitch shift[/code]).
</constant>
- <constant name="DOPPLER_TRACKING_PHYSICS_STEP" value="2">
+ <constant name="DOPPLER_TRACKING_PHYSICS_STEP" value="2" enum="DopplerTracking">
Simulate Doppler effect by tracking positions of objects that are changed in [code]_physics_process[/code]. Changes in the relative velocity of this Camera compared to those objects affect how Audio is perceived (changing the Audio's [code]pitch shift[/code]).
</constant>
</constants>