• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • Vec2Input
  • Vec2Input Class

    A vector parameter input of 2 components. More...

    Header: #include <Vec2Input>
    Since: 1.0
    Inherits: VectorInput

    Public Functions

    Vec2Input(const ParameterInputConfig &config, QWidget *parent = nullptr)
    void setValue(double x, double y)

    Detailed Description

    One DragNumber of 2 numbers, <x, y>, with the unit once. Everything but the count lives in VectorInput (vector-drag-number §VND-7).

    See also VectorInput and DragNumber.

    Member Function Documentation

    [explicit] Vec2Input::Vec2Input(const ParameterInputConfig &config, QWidget *parent = nullptr)

    Creates the input from config, with parent.

    void Vec2Input::setValue(double x, double y)

    Sets every component, with no signal (§OPR-3b).

    Takes x and y.