The "camera_set_view_halign" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
camera | camera | The camera index to modify (typically view_camera[#]) |
halign | constant | The alignment to set (va_left, va_center, or va_right) |
Description#
Sets the horizontal alignment of a camera, if it is currently assigned to a view. Alignment determines which side(s) of the view are expanded or cropped following a resize operation. Possible values are va_left, va_center, or va_top (va_left by default).

X1