MoonData

Description

sealed class Tinman.Demo.Tutorials.MoonData

Derived from

Disposable abstract

Full source code is included in the Tinman 3D SDK download.

This helper class wraps the default Moon datasets.

Public / Constructors

Load

2 overloads


[OwnerReturn]
public static method Load1 → (2)

tutorial in : Tutorial

[not-null]
The tutorial for which to load.

provider opt : IHeightmapProvider = null

Optional provider to use for loading heightmap datasets, instead of Tutorial.LoadHeightmap.

returns → MoonData

The data for the Moon.

This factory loads the default Moon datasets and returns the combined IHeightmap object.

IOException

If an I/O error has occurred.


[BeginEnd] [OwnerReturn]
public static method Load2 → (1)

loader in : Loader

[not-null]
The loader to use, which must have an active Loader.Begin and Loader.End cycle for loading IHeightmap objects.

returns → MoonData

The data for the Moon.

This factory loads the default Moon datasets and returns the combined IHeightmap object.

IOException

If an I/O error has occurred.

Public / Attributes

All​Elevation


public attribute AllElevation → (get)

value : IHeightmap

[not-null]
The heightmap.

The merged dataset with elevation values relative to the ellipsoid of CoordinateSystem.Moon and a default texture layer based on ColorRamp.Moon.

These datasets are merged into this one:

Lola10


public attribute Lola10 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lola.10m.hgt

Lola118


public attribute Lola118 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lola.118m.hgt

Lola20


public attribute Lola20 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lola.20m.hgt

Lola30


public attribute Lola30 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lola.30m.hgt

Lola5


public attribute Lola5 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lola.5m.hgt

Lola​Sites


public attribute LolaSites → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lola.sites.hgt

Nac2


public attribute Nac2 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lroc.nac.dtm.2m.hgt

Nac5


public attribute Nac5 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lroc.nac.dtm.5m.hgt

Sldem2015


public attribute Sldem2015 → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/sldem2015.hgt

Wac


public attribute Wac → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lroc.wac.hgt

Wac​Emp


public attribute WacEmp → (get)

value : IHeightmap

[not-null]
The heightmap.

This dataset is loaded from this path:
Data/Moon/lroc.wac.emp.hgt