SoShaderParameterPlane¶
- InventorModule¶
genre
author
package
dll
definition
keywords
Purpose¶
The module SoShaderParameterPlane provides a means to set a plane uniform parameter.
This can be used to, e.g., calculate the distance from a point to a plane in a shader.
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Visible Fields¶
Name¶
- name: name, type: String¶
Sets the name of the parameter.
Value¶
- name: value, type: Plane, default: 0 0 1 0¶
Sets the parameter value.
Transform To Eye Coordinates¶
- name: transformToEyeCoordinates, type: Bool, default: FALSE¶
If checked, the plane is transformed to eye coordinates, using the current model-view matrix of the Open Inventor state.
This can be useful if using the plane in a shader and can avoid the matrix multiplications that would otherwise have to be performed in the shader.