Table of Contents

Property heightMap

Namespace
Pinwheel.Vista.RealWorldData
Assembly
Pinwheel.Vista.RealWorldData.Runtime.dll

heightMap

Lazily rebuilds and returns the runtime height texture from the serialized height-map data buffer.

public Texture2D heightMap { get; }

Property Value

Texture2D

Remarks

The returned texture is created on first access only when the cached float data and stored size are valid. It is uploaded as an UnityEngine.TextureFormat.RFloat texture and marked non-readable after Apply(bool, bool) so it can be used for rendering and graph input without keeping a CPU-side copy alive.