Description Sets the immersion material for a particular source.
Syntax SetSourceMaterial n, mat
Parameters n As Long Node number of the source.
mat As Long Identifier of the material to use for the immersion.
Remarks This function sets the immersion material for a particular source. All rays created for this source will be created inside of the given material. The default material is "Air" unless otherwise specified with this subroutine. If there is a problem the function returns 0 and does not set an error.
See Also Examples
|