ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


flags

Flags that determine the ray-geometry intersection behavior relative to a material used together with this geometry configuration during ray tracing.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public RayTracingSubMeshFlags flags { readonly get; set; }

Remarks

The material type can influence the value of this flag. For example if Unity considers the material opaque, you can specify the RayTracingSubMeshFlags.Enabled and RayTracingSubMeshFlags.ClosestHitOnly flags together for maximum ray tracing performance.