unitSizePerPx

fun unitSizePerPx(type: UnitType, resources: Resources): Float

EN Calculates the size of 1 unit (1.0f) in Pixels (PX) for a specific physical unit.

PT Calcula o tamanho de 1 unidade (1.0f) em Pixels (PX) para uma unidade física específica.