class

Godot::Geometry3D

Inherits Godot::Object < Reference < Object

Godot Geometry3D singleton (Geometry3D).

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

build_box_planes(extents : Vector3) : Godot::Array
Source
build_capsule_planes(radius : Float64, height : Float64, sides : Int64, lats : Int64, axis : Int64) : Godot::Array
Source
build_cylinder_planes(radius : Float64, height : Float64, sides : Int64, axis : Int64) : Godot::Array
Source
clip_polygon(points : Pointer(Void), plane : Plane) : Pointer(Void)
Source
compute_convex_mesh_points(planes : Godot::Array) : Pointer(Void)
Source
get_closest_point_to_segment(point : Vector3, s1 : Vector3, s2 : Vector3) : Vector3
Source
get_closest_point_to_segment_uncapped(point : Vector3, s1 : Vector3, s2 : Vector3) : Vector3
Source
get_closest_points_between_segments(p1 : Vector3, p2 : Vector3, q1 : Vector3, q2 : Vector3) : Pointer(Void)
Source
get_triangle_barycentric_coords(point : Vector3, a : Vector3, b : Vector3, c : Vector3) : Vector3
Source
ray_intersects_triangle(from : Vector3, dir : Vector3, a : Vector3, b : Vector3, c : Vector3) : Pointer(Void)
Source
segment_intersects_convex(from : Vector3, to : Vector3, planes : Godot::Array) : Pointer(Void)
Source
segment_intersects_cylinder(from : Vector3, to : Vector3, height : Float64, radius : Float64) : Pointer(Void)
Source
segment_intersects_sphere(from : Vector3, to : Vector3, sphere_position : Vector3, sphere_radius : Float64) : Pointer(Void)
Source
segment_intersects_triangle(from : Vector3, to : Vector3, a : Vector3, b : Vector3, c : Vector3) : Pointer(Void)
Source
tetrahedralize_delaunay(points : Pointer(Void)) : Pointer(Void)
Source