allowAlphaTestedMaterials
Whether to allow Renderers that use alpha tested Materials.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public bool allowAlphaTestedMaterials
Remarks
Use RayTracingInstanceCullingConfig.alphaTestedMaterialConfig to define when a Material is considered alpha tested.
If this value is false and the Mesh used by a Renderer uses alpha tested Materials then the test fails.
Additional Resources: RayTracingAccelerationStructure.CullInstances.