0x00x0148
Members 9
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | m_NeedsToCheckFramePress | bool | Private | — | |
| 0x0131 | 0x03 | padding / unreflected | |||
| 0x04 | m_UpdateCountLastPressed | uint | Private | — | |
| 0x04 | m_UpdateCountLastReleased | uint | Private | — | |
| 0x01 | m_LastUpdateWasPress | bool | Private | — | |
| 0x01 | <needsToCheckFramePress>k__BackingField | bool | Private | — | |
| 0x013E | 0x02 | padding / unreflected | |||
| 0x04 | pressPoint | float | Public | — | |
| 0x04 | s_GlobalDefaultButtonPressPoint | float | Static+1 flags | — | |
| 0x04 | s_GlobalDefaultButtonReleaseThreshold | float | Static+1 flags | — | |
| — | 0x04 | kMinButtonPressPoint | float | Static+2 flags | 1056964608 |
| 0x0144 | 0x04 | unreflected bytes to end of ButtonControl | |||
Inherited from AxisControl 11
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | clamp | Clamp | Public | — | |
| 0x04 | clampMin | float | Public | — | |
| 0x04 | clampMax | float | Public | — | |
| 0x04 | clampConstant | float | Public | — | |
| 0x01 | invert | bool | Public | — | |
| 0x01 | normalize | bool | Public | — | |
| 0x011A | 0x02 | padding / unreflected | |||
| 0x04 | normalizeMin | float | Public | — | |
| 0x04 | normalizeMax | float | Public | — | |
| 0x04 | normalizeZero | float | Public | — | |
| 0x01 | scale | bool | Public | — | |
| 0x0129 | 0x03 | padding / unreflected | |||
| 0x04 | scaleFactor | float | Public | — | |
Inherited from InputControl`1 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x18 | m_ProcessorStack | InlinedArray<UnityEngine.InputSystem.InputProcessor<System.Single>> | 1 flags | — | |
| 0x04 | m_CachedValue | float | Private | — | |
| 0x04 | m_UnprocessedCachedValue | float | Private | — | |
| 0x01 | evaluateProcessorsEveryRead | bool | 1 flags | — |
Inherited from InputControl 24
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | m_StateBlock | InputStateBlock | 1 flags | — | |
| 0x10 | m_Name | InternedString | 1 flags | — | |
| 0x08 | m_Path | string | 1 flags | — | |
| 0x08 | m_DisplayName | string | 1 flags | — | |
| 0x08 | m_DisplayNameFromLayout | string | 1 flags | — | |
| 0x08 | m_ShortDisplayName | string | 1 flags | — | |
| 0x08 | m_ShortDisplayNameFromLayout | string | 1 flags | — | |
| 0x10 | m_Layout | InternedString | 1 flags | — | |
| 0x10 | m_Variants | InternedString | 1 flags | — | |
| 0x08 | m_Device | InputDevice | 1 flags | — | |
| 0x08 | m_Parent | InputControl | 1 flags | — | |
| 0x04 | m_UsageCount | int | 1 flags | — | |
| 0x04 | m_UsageStartIndex | int | 1 flags | — | |
| 0x04 | m_AliasCount | int | 1 flags | — | |
| 0x04 | m_AliasStartIndex | int | 1 flags | — | |
| 0x04 | m_ChildCount | int | 1 flags | — | |
| 0x04 | m_ChildStartIndex | int | 1 flags | — | |
| 0x04 | m_ControlFlags | ControlFlags | 1 flags | — | |
| 0x01 | m_CachedValueIsStale | bool | 1 flags | — | |
| 0x01 | m_UnprocessedCachedValueIsStale | bool | 1 flags | — | |
| 0x00A6 | 0x02 | padding / unreflected | |||
| 0x10 | m_DefaultState | PrimitiveValue | 1 flags | — | |
| 0x10 | m_MinValue | PrimitiveValue | 1 flags | — | |
| 0x10 | m_MaxValue | PrimitiveValue | 1 flags | — | |
| 0x04 | m_OptimizedControlDataType | FourCC | 1 flags | — | |
Functions 11
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_needsToCheckFramePress() | 2 flags | 0x01 | |
| void set_needsToCheckFramePress(bool value) | Private+1 flags | 0x01 | |
| float get_pressPointOrDefault() | Public+1 flags | 0x04 | |
| void .ctor() | Public+1 flags | 0x00 | |
| bool IsValueConsideredPressed(float value) | Public | 0x04 | |
| bool get_isPressed() | Public+1 flags | 0x01 | |
| void BeginTestingForFramePresses(bool currentlyPressed, bool pressedLastFrame) | Private | 0x01 | |
| bool get_wasPressedThisFrame() | Public+1 flags | 0x01 | |
| bool get_wasReleasedThisFrame() | Public+1 flags | 0x01 | |
| void UpdateWasPressed() | 1 flags | 0x00 | |
| FourCC CalculateOptimizedControlDataType() | 2 flags | 0x04 |
Subclasses 4
Used by 49
types with a member, parameter or interface of this typeAction`1ArraySortHelper`1ButtonControl[]Comparison`1DaydreamControllerDpadControlDualSenseGamepadHIDDualShock3GamepadHIDDualShock4GamepadHIDDualShockGamepadEnumeratorFastKeyboardFastMouseFastTouchscreenGamepadGearVRTrackedControllerHandedViveTrackerHololensHandICollection`1IComparer`1IEnumerator`1IList`1JoystickKeyboardKeyControl[]List`1MouseOculusHMDOculusHMDExtendedOculusRemoteOculusTouchControllerOculusTrackingReferenceOpenVRControllerWMROpenVROculusTouchControllerPenPointerPoseControlPredicate`1ReadOnlyCollection`1StickControlSwitchProControllerSwitchProControllerHIDTouchControlTouchSimulationTrackedDeviceViveWandWMRHMDWMRSpatialControllerXInputController