Subclass of Ovr.OvrNode
This Node is used to manage the most common interactions with the Unity VideoPlayer Component.
It requires a VideoPlayer to be set up, see for more info.
Based on the action the VideoPlayer is required to perform, this component changes its behavior and requirements.
The OVER SDK provides several ways to interact with Unity Video Component. A list can be found in .
This Component allows the user to customize the behavior of the VideoPlayer Audio.
allows enabling/disabling of a specific Audio track, defined by an index. allows the muting of the selected Audio track. allows for a change in the selected Audio track volume. allows for a change in the VideoPlayer AudioSource Component.
Note: the following attributes are added to the existing ones from the super class
Name | Type | Description |
---|
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
Name | Type | Description |
---|
EnableAudioTrack
Enable/disable audio track decoding. Only effective when the VideoPlayer is not currently playing.
SetDirectAudioMute
Set the direct-output audio mute status for the specified track.
SetDirectAudioVolume
Set the direct-output audio volume for the specified track.
SetTargetAudioSource
Sets the AudioSource that will receive audio samples for the specified track if this audio target is selected with Video.VideoPlayer.audioOutputMode.
UnityAction
Fires a UnityAction
VideoPlayer | VideoPlayer | Unity VideoPlayer Component |
ActionType |
TrackIndex | Index of the Audio track |
Enable |
Mute |
Volume |
AudioSource |
VideoPlayer | VideoPlayer | Unity VideoPlayer Component |
ActionType |
UnityAction | UnityAction | UnityAction to be invoked |
Action type [, , , ]
[] Enable/disable
[] Mute or not
[] Target volume
[] Target AudioSource
Action type []