文档

Unity Engine

Unity Engine

enableHeightmapRayTracing

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

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.