Navigation: Scripting Reference Manual > Functions & Subroutines > SetRefractiveIndexPos

 

SetRefractiveIndexPos

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the X, Y and Z offset for Gradient Index Material Common Parameters.

 

Syntax

SetRefractiveIndexPos id, offsetX, offsetY, offsetZ

 

Parameters

id as Long

Indentifier of material.

 

offsetX as Double

X-offset value.

 

offsetY as Double

Y-offset value.

 

offsetZ as Double

Z-offset value.

 

 

Remarks

SetRefractiveIndexPos sets the spatial offset for GRIN materials as part the GRIN Materials Common Parameters.

 

See Also

GetGRINMaterialCommon

SetGRINMaterialCommon

 

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC