class Rotation
Snapping options for rotating sprites.
Rotation()
Snapping options for rotating sprites. |
var enabled: Boolean?
Whether sprites should snap to specific orientations during rotation interactions. This switch enables or disables rotation snapping. |
|
var snapToAngles: FloatArray?
Enabled snapping angles in degrees for rotating a sprite. The rotation angle is defined clockwise. |
|
var threshold: Float?
This threshold defines the arc length of a rotation gesture where snapping at a snap angle occurs. It is measured in points. |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |