planes
An array of planes used for culling ray tracing instances associated with the Renderers in a Scene.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Plane[] planes
Remarks
To enable plane culling, use RayTracingInstanceCullingFlags.EnablePlaneCulling flag in RayTracingInstanceCullingConfig.flags.
A Renderer in the Scene is accepted to the acceleration structure if its AABB lies completely or partially on the positive side off all the Planes in the array.
Additional Resources: Plane, RayTracingAccelerationStructure.CullInstances.