Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourcePosCharacters

 

SetSourcePosCharacters

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the data from a source with a Random String ray position 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

SetSourcePosCharacters n, text, height, numRays

 

Parameters

n As Long

Node number of the source.

 

text As String

The text string of characters defining the source.

 

height As Double

The character height (system units).

 

numRays As Long (or Huge_)

The number of rays per character.

 

Remarks

This subroutine sets the data from a source with a Random String ray position type, i.e. a string of characters each holding the given number of randomly placed rays. If there is a problem the subroutine returns without modifying the source or setting an error.

 

See Also

IsSourcePosCharacters

GetSourcePosCharacters

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC