ドキュメント

Unity Engine

Unity Engine

OverlapPoint(Vector2)

Check if a point intersects the shape. This will only work on "closed" shapes. See PhysicsShape.ShapeType.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool OverlapPoint(Vector2 point)

Parameters

point

The world point to check.

Returns

Type

Description

boolWhether an intersection was found or not.