raycast abstract method

RaycastHit? raycast(
  1. Ray ray, {
  2. double maxDistance = double.infinity,
  3. int layerMask = 0xFFFFFFFF,
  4. bool includeFixed = true,
  5. bool includeKinematic = true,
  6. bool includeDynamic = true,
  7. bool includeTriggers = false,
})

Implementation

RaycastHit? raycast(
  Ray ray, {
  double maxDistance = double.infinity,
  int layerMask = 0xFFFFFFFF,
  bool includeFixed = true,
  bool includeKinematic = true,
  bool includeDynamic = true,
  bool includeTriggers = false,
});