Navigation: Scripting Reference Manual > Functions & Subroutines > SetIthSphericalGRINMaterial

 

SetIthSphericalGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the wavelength and coefficients for the ith table entry in an existing Spherical GRIN material.

 

Syntax

SetIthSphericalGRINMaterial id, nWavelenNum, wave, coeffs

 

Parameters

id As Long

Identifier of the Spherical GRIN material.

 

nWavelenNum As Long

The index in the wavelength table of the entry to be set.

 

wave As Double

Wavelength corresponding to the given table index.

 

coeffs() As Double

Array containing coefficients at wave corresponding to the given table index.

 

 

Remarks

SetIthSphericalGRINMaterial sets the wavelength and coefficients for the ith table entry in an existing Spherical GRIN material. If there is a problem, an error is generated and the material is not altered.

 

See Also

AddSphericalGRINMaterial

AppendSphericalGRINMaterial

GetIthSphericalGRINMaterial

RemoveIthSphericalGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC