Interface: iray_string_options

Interfaces > Core Interfaces > iray_string_options

 

   

Core Interfaces - Quick Navigation

NEW in 3ds Max 2015: The iray_string_options Core Interface exposes the iRay Renderer's additional string controls to MAXScript.

   

Properties:

iray_string_options.numOptions : integer : Read

Returns the number of currently defined iRay string options.

   

Methods:

<void>iray_string_options.AddOption <string>string <fpvalue>option index:<index>
    index default value: 0

Adds a new string option with name specified by the first argument and value specified by the second argument.

The optional index: parameter lets you force the index of the option.

   

<void>iray_string_options.RemoveOption <index>index

Removes the indexed option.

   

<TSTR by value>iray_string_options.GetOptionString <index>index

Returns the indexed option as a string value.

   

<fpvalue by value>iray_string_options.GetOptionValue <index>index

Returns the value of the indexed option.