OVRHaptics.OVRHapticsChannel Class Reference

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

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ OVRHapticsChannel()

OVRHaptics.OVRHapticsChannel.OVRHapticsChannel ( uint  outputIndex)

Constructs a channel targeting the specified output.

Member Function Documentation

◆ Clear()

void OVRHaptics.OVRHapticsChannel.Clear ( )

Cancels any currently-playing clips.

◆ Mix()

void OVRHaptics.OVRHapticsChannel.Mix ( OVRHapticsClip  clip)

Adds the specified clip to play simultaneously to the currently-playing clip(s).

◆ Preempt()

void OVRHaptics.OVRHapticsChannel.Preempt ( OVRHapticsClip  clip)

Cancels any currently-playing clips and immediatly plays the specified clip instead.

◆ Queue()

void OVRHaptics.OVRHapticsChannel.Queue ( OVRHapticsClip  clip)

Enqueues the specified clip to play after any currently-playing clips finish.


The documentation for this class was generated from the following file: