Skip to content

atl/sm/terraindata

import "atl/sm/terraindata"

The world's saved terrain data (sm.terrainData).

func Exists() bool

True if terrain data was saved.

func Load() atl.Value

The saved terrain data.

func Save(data any)

Saves the data and shares it from the server with clients.