Unity 1.25 Reference Guide

OVRHaptics::OVRHapticsChannel Class Reference

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

Private Data Fields

OVRHapticsOutput

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.

Object Data Documentation

OVRHapticsOutput OVRHaptics.OVRHapticsChannel.m_output ( )

Member Function Documentation

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.
The documentation for this class was generated from the following file: OVR/Scripts/OVRHaptics.cs