Version: 2023.1
public Material material ;

描述

Material the ray tracing instance uses.

It is not mandatory to assign a Material to each ray tracing instance. If you do not assign a Material to a ray tracing instance, the GPU does not execute any code when rays hit the Mesh geometry associated with that instance.