OvrAudio

Subclass of Ovr.OvrNode

Description

This Node is used to manage the most common interactions with the Unity Audio Component.

It requires an AudioSource to be set up, see Unity Manual for more info.

Based on the action the AudioSource is required to perform, this component changes its behavior and requirements.

Action Types

The OVER SDK provides several ways to interact with Unity AudioSource Component. A list can be found in OvrAudioActionType.

Play Clip At Point

Sets an AudioClip to the AudioSource and plays it at a given position in world space, defined by an OvrVector3.

Note: the following attributes are added to the existing ones from the super class OvrNode

NameTypeDescription

AudioSource

Unity AudioSource Component

ActionType

Action type [PlayClipAtPoint]

Clip

Unity 3D AudioClip

Position

Position in space

Volume

Audio volume

Play Scheduled

Plays the clip at a specific time, on the absolute time-line of the Audio system.

The AudioClip must be present in the AudioSource parameters.

Note: the following attributes are added to the existing ones from the super class OvrNode

NameTypeDescription

AudioSource

Unity AudioSource Component

ActionType

Action type [PlayClipAtPoint]

Time

Time at which play to clip

Unity Action

Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.

Note: the following attributes are added to the existing ones from the super class OvrNode

NameTypeDescription

AudioSource

Unity AudioSource Component

ActionType

Action type [UnityAction]

UnityAction

UnityAction

UnityAction to be invoked

Last updated