ProceduralPlanets

◆ ExportToJSON()

string ProceduralPlanets.Ring.ExportToJSON ( StringFormat  _format = StringFormat.JSON_EASY_READ)

Exports the ring to JSON string in different formats (easy to read / compact / "escaped" (i.e. slashes are replaced for copy/paste compatibility) and base64 encoding. The ring seed is included in the exported string but also all property values even if they are not overridden (the reason being that if the ring blueprint index hierarchy changes or updates to ProceduralPlanet asset affects the random seed, all values that used to be default seed values will instead be set to override. Public so other scripts can export ring.

Parameters
_format
Returns