intersectObject method
List<Intersection>
intersectObject(
- Object3D object,
- bool recursive, [
- List<
Intersection> ? intersects
Implementation
List<Intersection> intersectObject(Object3D object, bool recursive, [List<Intersection>? intersects]) {
List<Intersection> intersections = intersects ?? [];
intersectObject4(object, this, intersections, recursive);
intersections.sort(ascSort);
return intersections;
}