G 全般

Function: isKeyInBoundingBox(key k, key boundingObject)

Function: isKeyInBoundingBox(key k, key boundingObject)
詳細
設備
コンテンツ
レビュー

This function allows you to test if k is physically inside or outside the bounding box of boundingObject.

Caveat: This function is based on the geometric center of k. In certain cases it may appear that k is partially inside boundingObject when k's center is not.