ドキュメント

Unity Engine

Unity Engine

Contains(PhysicsAABB)

Checks if the AABB contains (completely encapsulates) the specified AABB.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly bool Contains(PhysicsAABB aabb)

Parameters

The AABB to check being contained by this AABB.

Returns

Type

Description

boolTrue if the specified AABB is contained by this AABB. False if not.