文档

Unity Engine


User Manual

Script Reference

Unity Engine


enableHeightmapRayTracing

When this options is enabled, Terrain heightmap geometries will be added in acceleration structures used for Ray Tracing.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public bool enableHeightmapRayTracing { get; set; }

Remarks

Use RayTracingAccelerationStructure.CullInstances function to add Terrain heightmap geometries to the acceleration structure.