GeometryRayIntersectsTriangle Method |
Tests if the 3D ray starting at from with the direction of dir intersects the triangle specified by a, b and 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 RayIntersectsTriangle( Vector3 from, Vector3 dir, Vector3 a, Vector3 b, Vector3 c )
[Missing <param name="from"/> documentation for "M:Godot.Geometry.RayIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="dir"/> documentation for "M:Godot.Geometry.RayIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="a"/> documentation for "M:Godot.Geometry.RayIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="b"/> documentation for "M:Godot.Geometry.RayIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="c"/> documentation for "M:Godot.Geometry.RayIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <returns> documentation for "M:Godot.Geometry.RayIntersectsTriangle(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]