Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
ViewerMaterialEdit
ViewerMaterialEdit allows you to put Viewer shader code into the scene rather than in a separate file.
Connection Type |
Connection Name |
Function |
Input |
in |
The place in the node graph where you want to place Viewer shader code in the scene. |
Control (UI) |
Default Value |
Function |
location |
N/A |
Sets the scene graph location of the material you want to edit. The location parameter options are available by clicking the dropdown menu. For more information, refer to the Scene Graph Location Widget Type in Common Parameter Widgets. |
viewerShaderSource |
N/A |
Specifies the GLSL shader code that defines how objects are drawn in the Viewer. |
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.