subMeshFlags
Flags that determine the ray-geometry intersection behavior relative to Material type during ray tracing.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public RayTracingSubMeshFlags subMeshFlags { 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.