Click or drag to resize

GeometryIsPointInCircle Method

Returns true if point is inside the circle or if it's located exactly on the circle's boundary, otherwise returns false.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool IsPointInCircle(
	Vector2 point,
	Vector2 circlePosition,
	float circleRadius
)

Parameters

point
Type: GodotVector2

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

circlePosition
Type: GodotVector2

[Missing <param name="circlePosition"/> documentation for "M:Godot.Geometry.IsPointInCircle(Godot.Vector2,Godot.Vector2,System.Single)"]

circleRadius
Type: SystemSingle

[Missing <param name="circleRadius"/> documentation for "M:Godot.Geometry.IsPointInCircle(Godot.Vector2,Godot.Vector2,System.Single)"]

Return Value

Type: Boolean

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

See Also