Struct BufferedRumble
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: UnityEngine.Experimental.Input.Plugins.XR.Haptics
Syntax
public struct BufferedRumble
Constructors
BufferedRumble(InputDevice)
Declaration
public BufferedRumble(InputDevice device)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | device |
Properties
capabilities
Declaration
public HapticCapabilities capabilities { get; }
Property Value
Type | Description |
---|---|
HapticCapabilities |
Methods
EnqueueRumble(Int32, Byte[])
Declaration
public void EnqueueRumble(int channel, byte[] samples)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | channel | |
System.Byte[] | samples |