materials
The materials the ray tracing instances use.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Material[] materials { readonly get; set; }
Remarks
Check RayTracingAccelerationStructure.AddInstancesIndirect method for additional information regarding how to specify ray tracing instance data that reference materials from this array.