The "camera_set_view_valign" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
camera | camera | The camera index to modify (typically view_camera[#]) |
valign | constant | The alignment to set (va_top, va_middle, or va_bottom) |
Description#
Sets the vertical 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_top, va_middle, or va_bottom (va_top by default).

X1