@@ -343,13 +343,14 @@ def match_window(
343
343
Should be called when the window is resized.
344
344
345
345
Args:
346
- and_projection: Flag whether to also equalize the projection to the viewport.
346
+ viewport: Flag whether to equalise the viewport to the value.
347
+ projection: Flag whether to also equalize the projection to the viewport.
347
348
On by default
348
- and_scissor : Flag whether to also equalize the scissor box to the viewport.
349
+ scissor : Flag whether to also equalize the scissor box to the viewport.
349
350
On by default
350
- and_position : Flag whether to also center the camera to the viewport.
351
+ position : Flag whether to also center the camera to the viewport.
351
352
Off by default
352
- aspect_ratio : The ratio between width and height that the viewport should
353
+ aspect : The ratio between width and height that the viewport should
353
354
be constrained to. If unset then the viewport just matches the window
354
355
size. The aspect ratio describes how much larger the width should be
355
356
compared to the height. i.e. for an aspect ratio of ``4:3`` you should
@@ -383,7 +384,7 @@ def match_target(
383
384
scissor: Flag whether to update the scissor value.
384
385
position: Flag whether to also center the camera to the value.
385
386
Off by default
386
- aspect_ratio : The ratio between width and height that the value should
387
+ aspect : The ratio between width and height that the value should
387
388
be constrained to. i.e. for an aspect ratio of ``4:3`` you should
388
389
input ``4.0/3.0`` or ``1.33333...``. Cannot be equal to zero.
389
390
If unset then the value will not be updated.
@@ -425,7 +426,7 @@ def update_values(
425
426
scissor: Flag whether to update the scissor value.
426
427
position: Flag whether to also center the camera to the value.
427
428
Off by default
428
- aspect_ratio : The ratio between width and height that the value should
429
+ aspect : The ratio between width and height that the value should
429
430
be constrained to. i.e. for an aspect ratio of ``4:3`` you should
430
431
input ``4.0/3.0`` or ``1.33333...``. Cannot be equal to zero.
431
432
If unset then the value will not be updated.
0 commit comments