Version: 2023.1
LanguageEnglish
  • C#

RayTracingInstanceCullingConfig.planes

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public Plane[] planes;

Description

An array of planes used for culling ray tracing instances associated with the Renderers in a Scene.

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.

See Also: Plane, RayTracingAccelerationStructure.CullInstances.