Struct InputDevice
Assembly: UnityEngine.dll
public struct InputDevice : IEquatable<InputDevice>
Properties
|
Improve this Doc
View Source
Declaration
public bool IsValid { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public bool Equals(InputDevice other)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public bool SendHapticBuffer(uint channel, byte[] buffer)
Parameters
Type |
Name |
Description |
UInt32 |
channel |
|
Byte[] |
buffer |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool SendHapticImpulse(uint channel, float amplitude, float duration = 1F)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public void StopHaptics()
|
Improve this Doc
View Source
Declaration
public bool TryGetHapticCapabilities(out HapticCapabilities capabilities)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Declaration
public static bool operator ==(InputDevice a, InputDevice b)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static bool operator !=(InputDevice a, InputDevice b)
Parameters
Returns
Implements
Extension Methods