targetMaterialProperty
Material texture property which is targeted when VideoPlayer.renderMode is set to VideoRenderMode.MaterialOverride.
阅读时间1 分钟最后更新于 11 天前
Definition
- Type: Property
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
public string targetMaterialProperty { get; set; }
Remarks
The video is sent to every Material in the Renderer that has the targeted texture property. When this property is empty, the VideoPlayer uses the name of the material's first main texture. If no main texture is found, the VideoPlayer uses the name of the material's first texture property.