Navigation: Scripting Reference Manual > Functions & Subroutines > SetSampledMaterialIthWavelength

 

SetSampledMaterialIthWavelength

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the ith wavelength and its associated complex refractive index in a Sampled Material definition.

 

Syntax

SetSampledMaterialIthWavelength id, indx, wave, real, imag

 

Parameters

id as Long

Integer identifier for a Sampled Material.

 

indx As Long

Zero-based index counter of new wavelength.

 

wave As Double

Wavelength to be added.

 

real As Double

Real part of new refractive index.

 

imag As Double

Imaginary part of new refractive index.

 

 

Remarks

SetSampledMaterialIthWavelength sets the ith wavelength and its associated complex refractive index in a Sampled Material definition.

 

See Also

AddSampledMaterial

GetSampledMaterial

SetSampledMaterial

AddSampledMaterialWavelength

GetSampledMaterialIthWavelength

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC