class Rotation
Snapping options for rotating sprites.
Rotation()
Snapping options for rotating sprites. |
fun getEnabled(): java.lang.Boolean
Whether sprites should snap to specific orientations during rotation interactions. This switch enables or disables rotation snapping. |
|
fun getSnapToAngles(): kotlin.Array<float>
Enabled snapping angles in degrees for rotating a sprite. The rotation angle is defined clockwise. |
|
fun getThreshold(): java.lang.Float
This threshold defines the arc length of a rotation gesture where snapping at a snap angle occurs. It is measured in points. |
|
fun setEnabled(p: java.lang.Boolean): void
Whether sprites should snap to specific orientations during rotation interactions. This switch enables or disables rotation snapping. |
|
fun setSnapToAngles(p: kotlin.Array<float>): void
Enabled snapping angles in degrees for rotating a sprite. The rotation angle is defined clockwise. |
|
fun setThreshold(p: java.lang.Float): void
This threshold defines the arc length of a rotation gesture where snapping at a snap angle occurs. It is measured in points. |