All Downloads are FREE. Search and download functionalities are using the official Maven repository.

godot.gen.godot.ClockDirection.kt Maven / Gradle / Ivy

The newest version!
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
package godot

import kotlin.Long

public enum class ClockDirection(
  id: Long,
) {
  /**
   * Clockwise rotation. Used by some methods (e.g. [Image.rotate90]).
   */
  CLOCKWISE(0),
  /**
   * Counter-clockwise rotation. Used by some methods (e.g. [Image.rotate90]).
   */
  COUNTERCLOCKWISE(1),
  ;

  public val id: Long
  init {
    this.id = id
  }

  public companion object {
    public fun from(`value`: Long): ClockDirection = entries.single { it.id == `value` }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy