struct
Godot::AABB
- Godot::AABB
- Struct
- Value
- Object
Overview
An axis-aligned bounding box in 3D space with 32-bit floating point precision.
Defined in:
libgodot/types/aabb.crConstructors
- .new(x : Number, y : Number, z : Number, width : Number, height : Number, depth : Number)
- .new(position : Vector3 = Vector3.new, size : Vector3 = Vector3.new)
- .new(pointer : Pointer(Void))
Instance Method Summary
- #!=(other : AABB) : Bool
- #==(other : AABB) : Bool
- #abs : AABB
- #encloses(other : AABB) : Bool
- #encloses?(other : AABB) : Bool
- #end : Vector3
- #end=(value : Vector3)
- #expand(to_point : Vector3) : AABB
- #grow(by : Number) : AABB
- #has_point(point : Vector3) : Bool
- #has_point?(point : Vector3) : Bool
- #has_surface? : Bool
- #has_volume? : Bool
- #intersection(other : AABB) : AABB
- #intersects(other : AABB) : Bool
- #intersects?(other : AABB) : Bool
- #is_equal_approx(other : AABB) : Bool
- #merge(other : AABB) : AABB
- #position : Vector3
- #position=(position : Vector3)
- #size : Vector3
- #size=(size : Vector3)
-
#to_s(io : IO) : Void
Same as
#inspect(io). - #volume : Float32