Module rect3

Types

Rect3* {.
byref
.} = object position*: Vector3 size*: Vector3
  Source Edit

Procs

proc initRect3*(pos, size: Vector3): Rect3 {.
inline
.}
  Source Edit
proc `$`*(self: Rect3): string {.
inline
.}
  Source Edit
proc area*(self: Rect3): float32 {.
noSideEffect, importc: "godot_rect3_get_area"
.}
  Source Edit
proc hasNoArea*(self: Rect3): bool {.
noSideEffect, importc: "godot_rect3_has_no_area"
.}
  Source Edit
proc hasNoSurface*(self: Rect3): bool {.
noSideEffect, importc: "godot_rect3_has_no_surface"
.}
  Source Edit
proc intersects*(a, b: Rect3): bool {.
noSideEffect, importc: "godot_rect3_intersects"
.}
  Source Edit
proc encloses*(self, other: Rect3): bool {.
noSideEffect, importc: "godot_rect3_encloses"
.}
  Source Edit
proc merge*(self, other: Rect3): Rect3 {.
noSideEffect, importc: "godot_rect3_merge"
.}
  Source Edit
proc intersection*(self, other: Rect3): Rect3 {.
noSideEffect, importc: "godot_rect3_intersection"
.}
  Source Edit
proc intersectsPlane*(self: Rect3; plane: Plane): bool {.
noSideEffect, importc: "godot_rect3_intersects_plane"
.}
  Source Edit
proc intersectsSegment*(self: Rect3; start, to: Vector3): bool {.
noSideEffect, importc: "godot_rect3_intersects_segment"
.}
  Source Edit
proc contains*(self: Rect3; point: Vector3): bool {.
noSideEffect, importc: "godot_rect3_has_point"
.}
  Source Edit
proc getSupport*(self: Rect3; dir: Vector3): Vector3 {.
noSideEffect, importc: "godot_rect3_get_support"
.}
  Source Edit
proc getLongestAxis*(self: Rect3): Vector3 {.
noSideEffect, importc: "godot_rect3_get_longest_axis"
.}
  Source Edit
proc getLongestAxisIndex*(self: Rect3): cint {.
noSideEffect, importc: "godot_rect3_get_longest_axis_index"
.}
  Source Edit
proc getLongestAxisSize*(self: Rect3): float32 {.
noSideEffect, importc: "godot_rect3_get_longest_axis_size"
.}
  Source Edit
proc getShortestAxis*(self: Rect3): Vector3 {.
noSideEffect, importc: "godot_rect3_get_shortest_axis"
.}
  Source Edit
proc getShortestAxisIndex*(self: Rect3): cint {.
noSideEffect, importc: "godot_rect3_get_shortest_axis_index"
.}
  Source Edit
proc getShortestAxisSize*(self: Rect3): float32 {.
noSideEffect, importc: "godot_rect3_get_shortest_axis_size"
.}
  Source Edit
proc expand*(self: Rect3; toPoint: Vector3): Rect3 {.
noSideEffect, importc: "godot_rect3_expand"
.}
  Source Edit
proc grow*(self: Rect3; by: float32): Rect3 {.
noSideEffect, importc: "godot_rect3_grow"
.}
  Source Edit
proc getEndpoint*(self: Rect3; idx: cint): Vector3 {.
noSideEffect, importc: "godot_rect3_get_endpoint"
.}
  Source Edit
proc `==`*(a, b: Rect3): bool {.
noSideEffect, importc: "godot_rect3_operator_equal"
.}
  Source Edit