文档

Unity Engine

Unity Engine

Contains(PhysicsAABB)

Checks if the AABB contains (completely encapsulates) the specified AABB.
阅读时间1 分钟最后更新于 1 个月前

Definition

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.