기술 자료

Unity Engine

Unity Engine

material

The material the ray tracing instance uses.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public Material material { readonly get; set; }

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 the geometry associated with this ray tracing instance.