Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnityEngine.VideoModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The Video module lets you play back video files in your content.

Classes

VideoClipA container for video data.
VideoPlayerPlays video content onto a target.
VideoPlayerExtensionsExtension methods for the VideoPlayer class.

Structs

VideoClipPlayableAn implementation of IPlayable that controls playback of a VideoClip.

Enumerations

Video3DLayoutTypes of 3D content layout within a video.
VideoAspectRatioMethods used to fit a video in the target area. If you're rendering a video into a RenderTexture, and the aspect ratio of the RenderTexture doesn't match that of the video being rendered, the VideoPlayer automatically adds black bars around the video. If you're rendering a video into a Camera, any area around the video remains transparent.
VideoAudioOutputModePlaces where the audio embedded in a video can be sent.
VideoRenderModeType of destination for the images read by a VideoPlayer.
VideoSourceSource of the video content for a VideoPlayer.
VideoTimeReferenceThe clock that the VideoPlayer observes to detect and correct drift.
VideoTimeUpdateModeDefines the time source used to update VideoPlayer when reading content.