|
Direct Video Android for Unity
Direct Video Unity docs
|
Use the Direct Video Android package to play video files on Android devices such as smartphones and standalone VR headsets.
Key features:
The DirectVideoAndroid::DirectVideoPlayer component is used to play video files to a RenderTexture. You can then assign this texture to a material as usual. The initial size of the RenderTexture is ignored, as it is resized to the video dimensions when a frame is received.
If you want to script the DirectVideoPlayer component, see the api documentation for DirectVideoAndroid::DirectVideoPlayer.
If you just want to add one to a GameObject in the Unity editor, see the main documentation page: User docs.