Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VideoStream
繼承: Resource < RefCounted < Object
被繼承: VideoStreamTheora
影片流的基礎資源。
說明
所有影片流的基礎資源型別。衍生自 VideoStream 的類都可以用作在 VideoStreamPlayer 中播放影片的資源型別。
教學
屬性
|
方法
_instantiate_playback() virtual required |
屬性說明
該 VideoStream 資源處理的影片檔路徑或 URI。
對於 VideoStreamTheora,這個檔案名應該是 Ogg Theora 影片檔,副檔名為 .ogv。
方法說明
VideoStreamPlayback _instantiate_playback() virtual required 🔗
影片開始播放時呼叫,用於初始化並返回 VideoStreamPlayback 的子類別。