public int BoxCastAll(PxVec3 center, PxVec3 halfExtents, PxVec3 direction, PxVec4 orientation,
                       float maxDistance, int layermask)
 {
     return(PhysXDll.BoxCastAll(this.scenePtr, center, direction, halfExtents, orientation, maxDistance, layermask, this.RaycastHits));
 }