RandomUniformRays.load

raytracing.RandomUniformRays.load(self, filePath, append=False)

A list of rays can be loaded 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.

  • append (bool) – If True, the loaded rays will be appended to the current list of rays.