Version: 2023.1
public Plane[] planes ;

描述

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.