UnityEngine.VideoModule An implementation of IPlayable that controls playback of a VideoClip. Creates a VideoClipPlayable in the PlayableGraph. The PlayableGraph object that will own the VideoClipPlayable. Indicates if VideoClip loops when it reaches the end. VideoClip used to produce textures in the PlayableGraph. A VideoClipPlayable linked to the PlayableGraph. Extension methods for the Video.VideoPlayer class. Return the Experimental.Audio.AudioSampleProvider for the specified track, used to receive audio samples during playback. The "this" pointer for the extension method. The audio track index for which the sample provider is queried. The sample provider for the specified track. The Video module lets you play back video files in your content. Types of 3D content layout within a video. Use this setting if the video doesn't have any 3D content. Video contains 3D content where the left eye occupies the upper half and right eye occupies the lower half of video frames. Video contains 3D content where the left eye occupies the left half and right eye occupies the right half of video frames. Use these methods to fit a video into your target area. Resize the image proportionally so that the width fits the target area. Resize the image proportionally so that the content fits the target area. Resize the image proportionally so that the content fits the target area. The VideoPlayer automatically crops the image if needed. Resize the image proportionally so that the height fits the target area. Preserve the pixel size without adjusting for target area. Resize the image non-proportionally to fit the target area. Places where the audio embedded in a video can be sent. Send the embedded audio to the associated AudioSampleProvider. Send the embedded audio into a specified AudioSource. Send the embedded audio direct to the platform's audio hardware. Disable the embedded audio. A container for video data. Gets the number of audio tracks that are embedded in the video clip. (Read Only). The length of the video clip in frames. (Read Only). The frame rate of the clip in frames per second. (Read Only). The height of the images in the video clip in pixels. (Read Only). The length of the video clip in seconds. (Read Only). Gets the original video clip file path as it was imported into Unity. (Read Only). Returns the denominator of the pixel aspect ratio (numerator:denominator). (Read Only). Returns the numerator of the pixel aspect ratio (numerator:denominator). (Read Only). Whether the imported clip contains sRGB color data (Read Only). The width of the images in the video clip in pixels. (Read Only). Returns the number of channels in the audio track. For example, if the audio track is a stereo track, this function returns 2. Use this index to specify which audio track in the video to use. The number of channels. Gets the language of the video clip’s audio tracks, if the audio tracks have an assigned language. Index of the audio track you want to query in the video. The abbreviated name of the language. Get the audio track sampling rate in hertz (Hz). Index of the audio queried audio track. The sampling rate in hertz. Plays video content onto a target. Defines how the video content will be stretched to fill the target area. Destination for the audio embedded in the video. Number of audio tracks found in the data source currently configured. (Read Only) Whether direct-output volume controls are supported for the current platform and video format. (Read Only) Whether you can change the playback speed. (Read Only) Whether frame-skipping to maintain synchronization can be controlled. (Read Only) Whether you can change the current time using the VideoPlayer.time or VideoPlayer.frame properties. (Read Only) [DEPRECATED] Whether you can change the time source followed by the VideoPlayer. (Read Only) Whether you can change the time source followed by the VideoPlayer. (Read Only) Returns true if the VideoPlayer can step forward through the video content. (Read Only) The clip being played by the VideoPlayer. Invoked when the VideoPlayer clock is synced back to its Video.VideoTimeReference. The clock time that the VideoPlayer follows to schedule its samples. The clock time is expressed in seconds. (Read Only) Number of audio tracks that this VideoPlayer will take control of. Maximum number of audio tracks that can be controlled. (Read Only) The VideoPlayer uses this callback to report various types of errors. The error message (string) the VideoPlayer reports. Reference time of the external clock the Video.VideoPlayer uses to correct its drift. The frame index of the currently available frame in VideoPlayer.texture. Number of frames in the current video content. (Read Only) Invoked when the video decoder does not produce a frame as per the time source during playback. The frame rate of the clip or URL in frames/second. (Read Only) The VideoPlayer invokes this event when a new frame is ready to be displayed. The number of the frame that is ready (zero-based index). The height of the images in the VideoClip, or URL, in pixels. (Read Only) Determines whether the VideoPlayer restarts from the beginning when it reaches the end of the clip. Whether playback is paused. (Read Only) Returns whether the VideoPlayer is currently playing the content. Returns whether the VideoPlayer has successfully prepared the content to be played. The length of the VideoClip, or the URL, in seconds. (Read Only) The VideoPlayer emits this event when the video reaches the end of its playback. The instance of the VideoPlayer that invokes the event. Denominator of the pixel aspect ratio (num:den) for the VideoClip or the URL. (Read Only) Numerator of the pixel aspect ratio (num:den) for the VideoClip or the URL. (Read Only) Factor by which the basic playback rate will be multiplied. Whether the content will start playing back as soon as the component awakes. The VideoPlayer invokes this event when the video is ready for playback. The instance of the VideoPlayer that invoked the event. Where the video content will be drawn. Invoke after a seek operation completes. Enables the frameReady events. Whether the VideoPlayer is allowed to skip frames to catch up with current time. The source that the VideoPlayer uses for playback. The VideoPlayer emits this event when the video starts to play. The instance of the VideoPlayer that invokes the event. Camera component to draw to when Video.VideoPlayer.renderMode is set to either Video.VideoRenderMode.CameraFarPlane or Video.VideoRenderMode.CameraNearPlane. Type of 3D content contained in the source video media. Overall transparency level of the target camera plane video. Material texture property which is targeted when Video.VideoPlayer.renderMode is set to Video.VideoTarget.MaterialOverride. Renderer which is targeted when Video.VideoPlayer.renderMode is set to Video.VideoTarget.MaterialOverride RenderTexture to draw to when Video.VideoPlayer.renderMode is set to Video.VideoRenderMode.RenderTexture. Internal texture in which video content is placed. (Read Only) The presentation time of the currently available frame in VideoPlayer.texture in seconds. The clock that the Video.VideoPlayer observes to detect and correct drift. [DEPRECATED] The source used by the VideoPlayer to derive its current time. The clock source used by the VideoPlayer to derive its current time. The file URL or web URL that the VideoPlayer reads content from. Determines whether the VideoPlayer will wait for the first frame to be loaded into the texture before starting playback when Video.VideoPlayer.playOnAwake is on. The width of the images in the VideoClip, or URL, in pixels. (Read Only) Enable/disable audio track decoding. Only effective when the VideoPlayer is not currently playing. Index of the audio track to enable/disable. True for enabling the track. False for disabling the track. Delegate type for VideoPlayer events that contain an error message. The VideoPlayer that is emitting the event. Message describing the error just encountered. Delegate type for all events without parameters emitted by VideoPlayers. The VideoPlayer that emits the event. Delegate type for VideoPlayer events that carry a frame number. The VideoPlayer that is emitting the event. The current frame of the VideoPlayer. The number of audio channels in the specified audio track. Index for the audio track being queried. Number of audio channels. Returns the language code, if any, for the specified track. Index of the audio track to query. Language code. Gets the audio track sampling rate in Hertz. Index of the audio track to query. The sampling rate in Hertz. Gets the direct-output audio mute status for the specified track. Return the direct-output volume for specified track. Track index for which the volume is queried. Volume, between 0 and 1. Gets the AudioSource that will receive audio samples for the specified track if Video.VideoPlayer.audioOutputMode is set to Video.VideoAudioOutputMode.AudioSource. Index of the audio track for which the AudioSource is wanted. The source associated with the audio track. Whether decoding for the specified audio track is enabled. See Video.VideoPlayer.EnableAudioTrack for distinction with mute. Index of the audio track being queried. Returns true if decoding for the specified audio track is enabled. Pauses the playback and leaves the current time intact. Starts or resumes the playback of a video. Prepares the playback engine so that it's ready for playback. Set the direct-output audio mute status for the specified track. Track index for which the mute is set. Mute on/off. Set the direct-output audio volume for the specified track. Track index for which the volume is set. New volume, between 0 and 1. Sets the AudioSource that will receive audio samples for the specified track if this audio target is selected with Video.VideoPlayer.audioOutputMode. Index of the audio track to associate with the specified AudioSource. AudioSource to associate with the audio track. Immediately advance the current time by one frame. Stops the playback and sets the current time to 0. Delegate type for VideoPlayer events that carry a time position. The VideoPlayer that is emitting the event. Time position. Type of destination for the images read by a VideoPlayer. Don't draw the video content anywhere, but still make it available via the VideoPlayer's texture property in the API. Draw video content behind a camera's scene. Draw video content in front of a camera's scene. Draw the video content into a user-specified property of the current GameObject's material. Draw video content into a RenderTexture. Source of the video content for a VideoPlayer. Use the current URL as the video content source. Use the current clip as the video content source. The clock that the Video.VideoPlayer observes to detect and correct drift. The external reference clock the Video.VideoPlayer observes to detect and correct drift. The video plays without influence from external time sources. The internal reference clock the Video.VideoPlayer observes to detect and correct drift. [DEPRECATED] Time source followed by the Video.VideoPlayer when reading content. The audio hardware clock. The unscaled game time as defined by Time.realtimeSinceStartup. Defines the time source the VideoPlayer uses to update the timing of the video playback. Update time based on the DSP (Digital Signal Processing) clock. Use this value to synchronize playback with Audio. Update the VideoPlayer's time based on Time.time. Update the VideoPlayer's time based on Time.unscaledTime.