Contents

controller

An object that configures framework-specific video options.

Declaration

var controller: VideoPlaybackController { get }

Discussion

Use this property to configure AR-specific properties of the texture’s video, such as whether the material should use spatial audio.

The following example demonstrates enabling spatial audio for a video material:

material.controller.audioInputMode = .spatial

See Also

Controlling playback