basemapDistance
Heightmap patches beyond basemap distance will use a precomputed low res basemap.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public float basemapDistance { get; set; }
Remarks
This improves performance for far away patches. Close up Unity renders the heightmap using splat maps by blending between any amount of provided terrain textures.
Examples
using UnityEngine;public class Example : MonoBehaviour{ void Start() { Terrain.activeTerrain.basemapDistance = 100; }}