Defines a mouse binding to modify a uniform value via mouse input. More...
Public Attributes | |
std::string | action |
std::string | valueUniform {""} |
std::string | positionXUniform {""} |
std::string | positionYUniform {""} |
Defines a mouse binding to modify a uniform value via mouse input.
|
export |
The action of the mouse (mouseLeft, mouseRight, mouseMiddle, mouseScroll, mouseTrack (tracks the position all time)).
|
export |
Uniform of X mouse position stored durign the action. Leave empty if position is not used.
|
export |
Uniform of Y mouse position stored durign the action. Leave empty if position is not used.
|
export |
Name of the uniform variable to modify. In case of scrolling the value contains the accumulated scroll offset. In caseof clicks int contains 1 as clicked or 0 as released..