Navigation: Scripting Reference Manual > Functions & Subroutines > SetScriptGRINMaterial

 

SetScriptGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

This subroutine sets the script text (the code) for a scripted gradient index material.

 

Syntax

SetScriptGRINMaterial id, scriptText

 

Parameters

id As Long

The identifier of the scripted GRIN material node.

 

scriptText As String

The string containing the script text (the code) that will be executed by the scripted GRIN material.

 

 

See Also

GetScriptGRINMaterialScript

AddScriptGRINMaterial

 

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC