Click or drag to resize
SoDirectVizShaderoptions Property

These strings specify parameters to the shader.

Namespace: OIV.Inventor.DirectViznodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoMFString options { get; }

Property Value

Type: SoMFString
Remarks

The syntax is: <parameter type> <parameter name> <parameter value>

Allowed types are:

1i One integer
2i Two integers
3i Three integers
1f One float
2f Two floats
3f Three floats
color Same as 3f
bool Same as 1i
texture File path

Example:

 options [ "bool isVisible true" , "1i upDirection 1" , "3f intensity 0.65 0.5899 0.5899  "]

Any trailing part of the string that does not correspond to a parameter is ignored.

When specifying a shader, it may not be necessary to specify values for all available parameters. If a parameter is not specified by the user, the default value will be used. See version 6.1 of the Open Inventor by FEI User's Guide for more information.

See Also