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

RayTracingInstanceCullingFlags.EnablePlaneCulling

切换到手册

描述

Causes RayTracingAccelerationStructure.CullInstances to perform plane culling.

The Plane list is defined by RayTracingInstanceCullingConfig.planes.

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 list.