Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingConfig.planes

切换到手册
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.