Version: 2022.2
언어: 한국어
public bool Contains (Vector3Int position);

파라미터

position Point to check.

반환

bool Is point contained in the bounding box?

설명

Is point contained in the bounding box?

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.