|UseAutomatic:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Switches the playback engine to automatic.
|UseUnityNative:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Switches the playback engine to Unity's native library for playing videos.
|UseLibVLC:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Switches the playback engine to Library video library codec.
}}
}}
Latest revision as of 23:49, 3 May 2025
Component image
Video Texture Provider component as seen in the Scene Inspector
The VideoTextureProvider component is used to display and play video. This component importantly implements both ITexture2D and IAudioSource which means it can be used as both a texture and a source of audio like a StaticAudioClip
Switches the playback engine to Library video library codec.
Usage
This component is often seen with Video Players, as they implement ITexture2D (meaning they are also a texture) and also implement IAudioSource (Which mean that are also like an audio clip) and can be used by users in different ways (i.e. Multiple screens and speakers sharing one Video Player texture).
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.