Function CE::Rendering::Geometry::get_pivot

Function Documentation

Pivot CE::Rendering::Geometry::get_pivot(AnchorType anchor)

Declaration: [[nodiscard]]

Convert a named preset to normalized top-left-origin coordinates.

See also

Detailed guide

Returns:

Preset pivot; unknown enum values return the center (0.5,0.5).