Module transforms

Types

Transform* {.
byref
.} = object basis*: Basis origin*: Vector3
  Source Edit

Procs

proc initTransform*(): Transform {.
inline
.}
  Source Edit
proc initTransform*(xAxis, yAxis, zAxis, origin: Vector3): Transform {.
inline
.}
  Source Edit
proc initTransform*(basis: Basis; origin: Vector3): Transform {.
inline
.}
  Source Edit
proc `$`*(self: Transform): string {.
inline
.}
  Source Edit
proc inverse*(self: Transform): Transform {.
importc: "godot_transform_inverse"
.}
  Source Edit
proc affineInverse*(self: Transform): Transform {.
importc: "godot_transform_affine_inverse"
.}
  Source Edit
proc orthonormalized*(self: Transform): Transform {.
importc: "godot_transform_orthonormalized"
.}
  Source Edit
proc rotated*(self: Transform; axis: Vector3; phi: float32): Transform {.
importc: "godot_transform_rotated"
.}
  Source Edit
proc scaled*(self: Transform; scale: Vector3): Transform {.
importc: "godot_transform_scaled"
.}
  Source Edit
proc translated*(self: Transform; offset: Vector3): Transform {.
importc: "godot_transform_translated"
.}
  Source Edit
proc lookingAt*(self: Transform; target, up: Vector3): Transform {.
importc: "godot_transform_looking_at"
.}
  Source Edit
proc xformPlane*(self: Transform; v: Plane): Plane {.
importc: "godot_transform_xform_plane"
.}
  Source Edit
proc xformInvPlane*(self: Transform; v: Plane): Plane {.
importc: "godot_transform_xform_inv_plane"
.}
  Source Edit
proc xformVector3*(self: Transform; v: Vector3): Vector3 {.
importc: "godot_transform_xform_vector3"
.}
  Source Edit
proc xformInvVector3*(self: Transform; v: Vector3): Vector3 {.
importc: "godot_transform_xform_inv_vector3"
.}
  Source Edit
proc xformRect3*(self: Transform; v: Vector3): Rect3 {.
importc: "godot_transform_xform_rect3"
.}
  Source Edit
proc xformInvRect3*(self: Transform; v: Vector3): Vector3 {.
importc: "godot_transform_xform_inv_rect3"
.}
  Source Edit
proc `==`*(self: Transform; b: Transform): bool {.
importc: "godot_transform_operator_equal"
.}
  Source Edit
proc `*`*(a, b: Transform): Transform {.
importc: "godot_transform_operator_multiply"
.}
  Source Edit
proc `*=`*(a: var Transform; b: Transform) {.
inline
.}
  Source Edit