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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public abstract bool TestPoint(
	ref Transform transform,
	ref Vector2 point
)

Parameters

transform
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The shape world transform.
point
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
A point in world coordinates.

Return Value

Type: Boolean
True if the point is inside the shape
See Also