proc initTransform2D*(): Transform2D {.inline
.}
-
Source
Edit
proc initTransform2D*(rot: float32; pos: Vector2): Transform2D {.inline
.}
-
Source
Edit
proc initTransform2D*(xAxis, yAxis, origin: Vector2): Transform2D {.inline
.}
-
Source
Edit
proc `$`*(self: Transform2D): string {.inline
.}
-
Source
Edit
proc inverse*(self: Transform2D): Transform2D {.importc: "godot_transform2d_inverse"
.}
-
Source
Edit
proc affineInverse*(self: Transform2D): Transform2D {.
importc: "godot_transform2d_affine_inverse"
.}
-
Source
Edit
proc rotation*(self: Transform2D): float32 {.
importc: "godot_transform2d_get_rotation"
.}
-
Source
Edit
proc origin*(self: Transform2D): Vector2 {.importc: "godot_transform2d_get_origin"
.}
-
Source
Edit
proc scale*(self: Transform2D): Vector2 {.importc: "godot_transform2d_get_scale"
.}
-
Source
Edit
proc orthonormalized*(self: Transform2D): Transform2D {.
importc: "godot_transform2d_orthonormalized"
.}
-
Source
Edit
proc rotated*(self: Transform2D; phi: float32): Transform2D {.
importc: "godot_transform2d_rotated"
.}
-
Source
Edit
proc scaled*(self: Transform2D; scale: Vector2): Transform2D {.
importc: "godot_transform2d_scaled"
.}
-
Source
Edit
proc translated*(self: Transform2D; offset: Vector2): Transform2D {.
importc: "godot_transform2d_translated"
.}
-
Source
Edit
proc xformVector2*(self: Transform2D; v: Vector2): Vector2 {.
importc: "godot_transform2d_xform_vector2"
.}
-
Source
Edit
proc xformInvVector2*(self: Transform2D; v: Vector2): Vector2 {.
importc: "godot_transform2d_xform_inv_vector2"
.}
-
Source
Edit
proc basisXformVector2*(self: Transform2D; v: Vector2): Vector2 {.
importc: "godot_transform2d_basis_xform_vector2"
.}
-
Source
Edit
proc basisXformInvVector2*(self: Transform2D; v: Vector2): Vector2 {.
importc: "godot_transform2d_basis_xform_inv_vector2"
.}
-
Source
Edit
proc xformRect2*(self: Transform2D; v: Rect2): Rect2 {.
importc: "godot_transform2d_xform_rect2"
.}
-
Source
Edit
proc xformInvRect2*(self: Transform2D; v: Rect2): Rect2 {.
importc: "godot_transform2d_xform_inv_rect2"
.}
-
Source
Edit
proc interpolateWith*(self, m: Transform2D; c: float32): Transform2D {.
importc: "godot_transform2d_interpolate_with"
.}
-
Source
Edit
proc `==`*(a, b: Transform2D): bool {.importc: "godot_transform2d_operator_equal"
.}
-
Source
Edit
proc `*`*(a, b: Transform2D): Transform2D {.importc: "godot_transform2d_operator_multiply"
.}
-
Source
Edit
proc `*=`*(a: var Transform2D; b: Transform2D) {.inline
.}
-
Source
Edit