Version: 2021.3
言語: 日本語
public bool Contains (Vector3Int position);

パラメーター

position Point to check.

戻り値

bool 設定した point が、バウンディングボックスに含まれているか確認します

説明

設定した point が、バウンディングボックスに含まれているか確認します

A point is contained in the bounding box if its x, y and z components are greater or equal to BoundsInt.xMin, BoundsInt.yMin and BoundsInt.zMin respectively, and less than BoundsInt.xMax, BoundsInt.yMax and BoundsInt.zMax respectively.