ObjectRays.save

raytracing.ObjectRays.save(self, filePath)

A list of rays can be saved using this function.

Parameters:

filePath (str or PathLike or file-like object) – A path, or a Python file-like object, or possibly some backend-dependent object. Must be provided in OS-dependent format.