API reference
API reference
Select your platform
No SDKs available
No versions available

OVRHapticsChannel Class

A track of haptics data that can be mixed or sequenced with another track.

Overview

Public Member Functions

OVRHapticsChannel
( uint outputIndex )
Constructs a channel targeting the specified output.
void
Cancels any currently-playing clips and immediatly plays the specified clip instead.
void
Enqueues the specified clip to play after any currently-playing clips finish.
void
Adds the specified clip to play simultaneously to the currently-playing clip(s).
void
Clear ( )
Cancels any currently-playing clips.

Details

Member Functions

OVRHaptics.OVRHapticsChannel.OVRHapticsChannel
( uint outputIndex )
Constructs a channel targeting the specified output.
void OVRHaptics.OVRHapticsChannel.Preempt
( OVRHapticsClip clip )
Cancels any currently-playing clips and immediatly plays the specified clip instead.
void OVRHaptics.OVRHapticsChannel.Queue
( OVRHapticsClip clip )
Enqueues the specified clip to play after any currently-playing clips finish.
void OVRHaptics.OVRHapticsChannel.Mix
( OVRHapticsClip clip )
Adds the specified clip to play simultaneously to the currently-playing clip(s).
void OVRHaptics.OVRHapticsChannel.Clear ( )
Cancels any currently-playing clips.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon