ShaderParameterSlider4f

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

Purpose

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

Windows

Default Panel

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

Output Fields

output0

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

Parameter Fields

Field Index

Name: String Xmin: Float
value: Vector4 Y: Double
Vector: Vector4 Ymax: Float
W: Double Ymin: Float
Wmax: Float Z: Double
Wmin: Float Zmax: Float
X: Double Zmin: Float
Xmax: 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

Zmax

name: zmax, type: Float, default: 1

Zmin

name: zmin, type: Float, default: 0

Wmax

name: dmax, type: Float, default: 1

Wmin

name: dmin, 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`

Z

name: z, type: Double, default: 0.5, minimum: :field:`zmin`, maximum: :field:`zmax`

W

name: d, type: Double, default: 0.5, minimum: :field:`dmin`, maximum: :field:`dmax`

Vector

name: vector, type: Vector4, default: 0.5 0.5 0.5 0.5

Hidden Fields

value

name: value, type: Vector4, default: 0.5 0.5 0.5 0.5