GeometrySegmentIntersectsTriangle Method |
Tests if the segment (from, to) intersects the triangle a, b, c. If yes, returns the point of intersection as Vector3. If no intersection takes place, an empty Variant is returned.
Namespace: Godot
public static Object SegmentIntersectsTriangle( Vector3 from, Vector3 to, Vector3 a, Vector3 b, Vector3 c )
[Missing <param name="from"/> documentation for "M:Godot.Geometry.SegmentIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="to"/> documentation for "M:Godot.Geometry.SegmentIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="a"/> documentation for "M:Godot.Geometry.SegmentIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="b"/> documentation for "M:Godot.Geometry.SegmentIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="c"/> documentation for "M:Godot.Geometry.SegmentIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <returns> documentation for "M:Godot.Geometry.SegmentIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]