Jump to navigation Jump to search
A_OverlayPivotAlign (int layer, int halign, int valign)
Sets the starting alignment to one of the corners of the sprite for the pivot. A_OverlayPivot's offset is applied afterwards.
- layer - The layer to modify.
- halign - Sets the horizontal alignment corner, which can be one of the following (not combinable). Set to -1 to keep the current alignment.
- PSPA_LEFT - Default.
- valign - Same as halign but takes the following:
- PSPA_TOP - Default.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|