Description Sets the ray file name and parameters for the given Imported Source type. Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long. Please see Multi-threaded Raytracing for more information.
Syntax SetSourcePosImported n, fname, allRays, nDesiredNumRays
Parameters n As Long Source node number.
fname As String Filename of ray file.
bUseAllRays As Boolean True if all rays in file are to be used; False otherwise.
nDesiredNumRays As Long (or Huge_) Integer for the (subset) number of rays to read from the ray file. Ignored if allRays is True.
Remarks Sets the ray file name and parameters for the given Imported Source type.
See Also GetSourcePosImportedFileIsValid ReadRaysFromFRBSFileToRayBuffer WriteRaysFromRayBufferToFRBSFile
|