文档

Unity Engine

Unity Engine

allowOpaqueMaterials

Whether to allow Renderers that use opaque Materials.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool allowOpaqueMaterials

Remarks

If this value is false and the Mesh used by a Renderer uses opaque Materials then the test fails. A Material is considered opaque if it's not alpha tested or transparent.