Show / Hide Table of Contents

Struct InputDevice

Implements
IEquatable<InputDevice>
Inherited Members
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine.XR
Assembly: UnityEngine.dll
Syntax
public struct InputDevice : IEquatable<InputDevice>

Properties

| Improve this Doc View Source

IsValid

Declaration
public bool IsValid { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)
| Improve this Doc View Source

Equals(InputDevice)

Declaration
public bool Equals(InputDevice other)
Parameters
Type Name Description
InputDevice other
Returns
Type Description
Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()
| Improve this Doc View Source

SendHapticBuffer(UInt32, Byte[])

Declaration
public bool SendHapticBuffer(uint channel, byte[] buffer)
Parameters
Type Name Description
UInt32 channel
Byte[] buffer
Returns
Type Description
Boolean
| Improve this Doc View Source

SendHapticImpulse(UInt32, Single, Single)

Declaration
public bool SendHapticImpulse(uint channel, float amplitude, float duration = 1F)
Parameters
Type Name Description
UInt32 channel
Single amplitude
Single duration
Returns
Type Description
Boolean
| Improve this Doc View Source

StopHaptics()

Declaration
public void StopHaptics()
| Improve this Doc View Source

TryGetHapticCapabilities(out HapticCapabilities)

Declaration
public bool TryGetHapticCapabilities(out HapticCapabilities capabilities)
Parameters
Type Name Description
HapticCapabilities capabilities
Returns
Type Description
Boolean

Operators

| Improve this Doc View Source

Equality(InputDevice, InputDevice)

Declaration
public static bool operator ==(InputDevice a, InputDevice b)
Parameters
Type Name Description
InputDevice a
InputDevice b
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(InputDevice, InputDevice)

Declaration
public static bool operator !=(InputDevice a, InputDevice b)
Parameters
Type Name Description
InputDevice a
InputDevice b
Returns
Type Description
Boolean

Implements

System.IEquatable<T>

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX