Component:VideoTextureProvider

From Resonite Wiki
Revision as of 23:36, 31 July 2024 by 989onan (talk | contribs) (Add some info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Video Texture Provider component as seen in the Scene Inspector


Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Playback direct SyncPlayback
URL Uri The website or file source of the video. Like a youtube video or a file on a machine.
Stream Bool Whether this video should stream the data or cache it
Volume Float The volume of the video when being used as an IAudioSource
ForcePlaybackEngine String
ForceVideoStreamingServiceParsing Bool
VideoTitle raw output of String
CurrentPlaybackEngine raw output of String
CurrentClockError raw output of Float
FilterMode TextureFilterMode The filtering that should be applied to the texture part of the video
AnisotropicLevel Int
WrapModeU TextureWrapMode The wrapping that should be used when tiling the texture on the X axis.
WrapModeV TextureWrapMode The wrapping that should be used when tiling the texture on the Y axis.
AudioTrackIndex Nullable`1<Int>
PreferAudioOnly Bool
MaxWidth Nullable`1<Int>
MaxHeight Nullable`1<Int>

Usage

This component is often seen with Video Players, as they hold an ITexture2D and can be used by users in different ways (i.e. Multiple screens sharing one Video Player texture).

Examples

Related Components