文档

Unity Engine

Unity Engine

renderMode

Where the video content will be drawn.
阅读时间1 分钟最后更新于 1 个月前

Definition

public VideoRenderMode renderMode { get; set; }

Remarks

This gets automatically set to the most appropriate value when creating a VideoPlayer. For example, adding a VideoPlayer on a Camera will result in the VideoPlayer initializing its target to be the Camera background.