Vector2

gdext.builtin.Vector2
See theVector2 companion class
object Vector2

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Vector2.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(): Vector2
def fromAngle(angle: Float): Vector2

Deprecated methods

def zero: Vector2

Attributes

Deprecated
[Since version 0.1.9] use Vector2.ZERO

Concrete fields

val DOWN: Vector2
val INF: Vector2
val LEFT: Vector2
val ONE: Vector2
val RIGHT: Vector2
val UP: Vector2
val ZERO: Vector2