Table of Contents

Namespace AVProVideo.XR.CompositionLayers.Extensions

Classes

MediaPlayerLayerExtension

Subclass of Unity.XR.CompositionLayers.CompositionLayerExtension to support explicitly setting the MediaPlayer instance to use when rendering video to a composition layer.

Support for this component requires that the Unity.XR.CompositionLayers.CompositionLayer component layer type is one of the AVPro Video layer types.

If this extension is not added then it is expected that a MediaPlayer component is attached to the game object.