gdext.builtin.Vector2
See theVector2 companion object
Godot's Vector2: two single-precision components (8 bytes). The whole engine API is implemented in Scala (ported from core/math), so no method calls into the engine. Zero-argument methods take no parentheses.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Vector2 * Transform2D: the inverse transform of this point.
Vector2 * Transform2D: the inverse transform of this point.
Attributes
def cubicInterpolateInTime(b: Vector2, preA: Vector2, postB: Vector2, weight: Float, bT: Float, preAT: Float, postBT: Float): Vector2
Requires a normalized line.
Requires a normalized line.
Attributes
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
In this article