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
- Type: Field
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
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.