Version: 2023.1
public Mesh mesh ;

描述

The Mesh to add to a RayTracingAccelerationStructure.

If the Mesh is destroyed then Unity automatically removes all ray tracing instances that were using the Mesh from the RayTracingAccelerationStructure.

Unity only ray traces triangle-based geometries. It does not ray trace other MeshTopology types.