기술 자료

Unity Engine

Unity Engine

targetMaterialProperty

Material texture property which is targeted when VideoPlayer.renderMode is set to MaterialOverride.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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.