Vixen
dd8b0a81
csharp
public enum InputControlType

The shape of the value an action produces.

Read the guide page for this →

Remarks

Declared rather than inferred from the bindings, because it is what the generated accessor's return type is built from and because an action with no bindings yet still has a shape. A binding that cannot produce the declared shape is a load-time diagnostic, not a silent zero.

Fields and properties (3)

  • Button

    Pressed or not. Read as Boolean, or as Single for its analogue amount.

  • Axis

    One signed axis. Read as Single.

  • Vector2

    Two axes. Read as Vector2.

Used by (8)

  • InputActionVixen.Input
  • InputActionAssetReaderVixen.Input
  • InputActionAssetTestsVixen.Input.Tests
  • InputActionAssetWriterVixen.Input
  • InputActionDataVixen.Input
  • PlayerInputTestsVixen.Engine.Tests
  • VxInputEmitterVixen.Input.Generators
  • InputActionsDocumentVixen.Editor.AssetEditors