sphereRadius
The radius of the sphere used for culling ray tracing instances associated with the Renderers in a Scene.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public float sphereRadius
Remarks
To enable sphere culling, use RayTracingInstanceCullingFlags.EnableSphereCulling flag in RayTracingInstanceCullingConfig.flags.
Additional Resources: RayTracingAccelerationStructure.