ShaderParameterSlider2f

MacroModule
genre Shader
author Christian Rieder
package FMEwork/ReleaseMeVis
definition ShaderHelpers.def
see also SoShaderParameter2f
keywords vertex, fragment, geometry, shader, slider, 2f, parameter, uniform

Purpose

Provides a mean to set a two-component floating point uniform parameter (vec2) using sliders.

Windows

Default Panel

../../../Modules/Macros/ShaderHelpers/mhelp/Images/Screenshots/ShaderParameterSlider2f._default.png

Output Fields

output0

name: output0, type: SoNode, deprecated name: output

Parameter Fields

Field Index

Name: String Ymin: Float
value: Vector2  
Vector: Vector2  
X: Double  
Xmax: Float  
Xmin: Float  
Y: Double  
Ymax: Float  

Visible Fields

Name

name: name, type: String

Xmax

name: xmax, type: Float, default: 1

Xmin

name: xmin, type: Float, default: 0

Ymax

name: ymax, type: Float, default: 1

Ymin

name: ymin, type: Float, default: 0

X

name: x, type: Double, default: 0.5, minimum: :field:`xmin`, maximum: :field:`xmax`

Y

name: y, type: Double, default: 0.5, minimum: :field:`ymin`, maximum: :field:`ymax`

Vector

name: vector, type: Vector2, default: 0.5 0.5

Hidden Fields

value

name: value, type: Vector2, default: 0.5 0.5