Navigation: Scripting Reference Manual > Functions & Subroutines > IsChangeSurfRayColor

 

IsChangeSurfRayColor

 

Contact Us: fredsupport@photonengr.com

 

Description

Determines whether a specific Ray Color setting is active.

 

Syntax

active = IsChangeSurfRayColor ( n, type )

 

Parameters

active (Boolean)

Indicates whether the specified node has its Ray Color option active (True) or not (False).

 

n As Long

Entity node number.

 

type As String

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

"transmit"

"reflect"

"diffract"

"scatter"

 

Remarks

Corresponds to the Ray Colors options found on the Coating/Ray Control tab. Returns True only if the entity has the specified Ray Color setting active.

 

See Also

GetChangeSurfRayColor

ChangeSurfRayColorOff

ChangeSurfRayColor

 

 

 

 

 

Copyright © Photon Engineering, LLC