Description Retrieves the number of random directions from a source with a "Random directions into a sphere" ray directions 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 success = GetSourceDirSphere ( n, dirCount )
Parameters success (Boolean) True if the function succeeds, False otherwise.
n As Long Node number of the source.
dirCount As Long (or Huge_) Returns the number of directions from the source.
Remarks This function retrieves the number of random directions from a source with a Random ray directions type. If there is a problem the function returns False and does not set an error.
See Also Examples
|