mesh
The mesh to add to a RayTracingAccelerationStructure.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Mesh mesh
Remarks
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.