# Function useFiveModelIntersectRaycaster

- useFiveModelIntersectRaycaster(): FiveModelIntersectRaycaster
  `Function`

  Five Vue Hooks: 获取当前模型碰撞检测方法

  fiveModelIntersectRaycaster

      计算模型射线碰撞检测
      // param raycaster THREE 射线对象
      // param floors 和某一楼层做碰撞检测， 不传为和所有楼层做碰撞检测
      // returns 返回碰撞
      intersectRaycaster(raycaster: THREE.Raycaster, floors?: number | number[]): Intersection[]

  #### Returns FiveModelIntersectRaycaster

  #### Example

      const fiveModelIntersectRaycaster = useFiveModelIntersectRaycaster();
      const intersects = fiveModelIntersectRaycaster(raycaster);

  - Defined in lib/vue/hooks/useFiveModelIntersectRaycaster.ts:39