Click or drag to resize

ShapeTestPoint Method

Test a point for containment in this shape. Note: This only works for convex shapes.

Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public abstract bool TestPoint(
	ref Transform transform,
	ref Vector2 point
)

Parameters

transform  Transform
The shape world transform.
point  Vector2
A point in world coordinates.

Return Value

Boolean
True if the point is inside the shape
See Also