文档

Unity Engine

Unity Engine

APIOnly

Don't draw the video content anywhere, but still make it available via the VideoPlayer's texture property in the API.
阅读时间1 分钟最后更新于 1 个月前

Definition

APIOnly = 4

Remarks

You can use this render mode to play the video into a Canvas' RawImage. You can assign the VideoPlayer.texture directly to RawImage texture. This lets you use video in your UI elements or any place where the API allows a texture to be assigned.