|CurrentPlaybackEngine|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv7=true| The current engine being used for playback
|CurrentPlaybackEngine|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv7=true| The current engine being used for playback
|CurrentClockError|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv8=true| The amount of seconds the player may have in error due to lag or otherwise.
|CurrentClockError|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv8=true| The amount of seconds the player may have in error due to lag or otherwise.
|FilterMode|TextureFilterMode| The filtering that should be applied to the texture part of the video
|AudioTrackIndex|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Int|Int]]>'''|TypeAdv13=true| the audio track that the video player should use to play
|AudioTrackIndex|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Int|Int]]>'''|TypeAdv13=true| the audio track that the video player should use to play
|PreferAudioOnly|Bool| whether to parse the video source as audio only rather than video and audio. An example of an audio only is an MP3 file type.
|PreferAudioOnly|Bool| whether to parse the video source as audio only rather than video and audio. An example of an audio only is an MP3 file type.
Revision as of 17:34, 19 November 2024
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
The max pixels on the y axis that will be rendered when using this as a texture.
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.