Navigation: Scripting Reference Manual > Functions & Subroutines > ChangeSurfRayColor

 

ChangeSurfRayColor

 

Contact Us: fredsupport@photonengr.com

 

Description

Changes the integer RGB values for the color assigned to a specific Ray Color option.

 

Syntax

ChangeSurfRayColor n, rtype, red, green, blue

 

Parameters

n As Long

Entity node number.

 

rtype As String

String indicating the type of ray intersection for which ray color is to be changed.  Valid options are:

"transmit"

"reflect"

"diffract"

"scatter"

"all"

 

red As Integer

Integer value for red RGB component.

 

green As Integer

Integer value for green RGB component.

 

blue As Integer

Integer value for blue RGB component.

 

Remarks

Changes the integer RGB values for the color assigned to a specific Ray Color option. If the specified Ray Color option is not active, the specified Ray Color becomes active.

 

See Also

GetChangeSurfRayColor

ChangeSurfRayColorOff

IsChangeSurfRayColor

 

 

 

 

 

Copyright © Photon Engineering, LLC