Version: 2023.1
言語: 日本語
public Rendering.RayTracingSubMeshFlags subMeshFlags ;

説明

Flags that determine the behavior of a sub-mesh in a RayTracingAccelerationStructure.

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 for maximum ray tracing performance.