Click or drag to resize

GeometryPointIsInsideTriangle Method

Returns if point is inside the triangle specified by a, b and c.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool PointIsInsideTriangle(
	Vector2 point,
	Vector2 a,
	Vector2 b,
	Vector2 c
)

Parameters

point
Type: GodotVector2

[Missing <param name="point"/> documentation for "M:Godot.Geometry.PointIsInsideTriangle(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]

a
Type: GodotVector2

[Missing <param name="a"/> documentation for "M:Godot.Geometry.PointIsInsideTriangle(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]

b
Type: GodotVector2

[Missing <param name="b"/> documentation for "M:Godot.Geometry.PointIsInsideTriangle(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]

c
Type: GodotVector2

[Missing <param name="c"/> documentation for "M:Godot.Geometry.PointIsInsideTriangle(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.Geometry.PointIsInsideTriangle(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]

See Also