material
The material the ray tracing instance uses.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Material material
Remarks
This value is optional. If you use ray tracing shaders and don't set a Material, the GPU doesn't execute any code when rays hit an axis-aligned bounding box (AABB) associated with this instance.