public class SoDirectVizShader extends SoNode
SoDirectVizGeneralShader
for surface shaders, or SoDirectVizEnvironmentShader
). See the Open Inventor by FEI User's Guide for descriptions of the shaders supported by DirectViz and reference information about available shader options.
See also:
SoDirectVizManagerDeprecated since Open Inventor 9500
No longer supported.
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFString |
file
Deprecated.
Name of OpenRTRT dynamic library containing the shader code.
|
SoSFString |
name
Deprecated.
Name of the shader to use.
|
SoMFString |
options
Deprecated.
These strings specify parameters to the shader.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoDirectVizShader()
Deprecated.
Constructor.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFString file
SoPreferences
.public final SoSFString name
public final SoMFString options
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.
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com