Vixen
02b45cc4
csharp
public record class InvertProcessor

Negates one or both components.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

What "invert Y" in an options screen is. Defaults to both, because a binding that writes invert with no arguments means the whole value.

Fields and properties (3)

  • public bool X

    Whether to negate the horizontal component.

  • public bool Y

    Whether to negate the vertical component.

  • public string Name

    The name it is written under in a .vxinput.

Methods (2)

  • public InvertProcessor(bool X = true, bool Y = true)

    Negates one or both components.

  • public Vector2 Process(Vector2 value, int dimensions)

    Reshapes a value.

Used by (1)

  • InputProcessorFactoryVixen.Input