ICanvasFactory

Description

interface Tinman.Terrain.Tools.ICanvasFactory

Base interface for classes that create Canvas objects.

Public / Methods

Create​Canvas


[OwnerReturn]
public method CreateCanvas → (1)

content in : ICanvasContent own

[not-null]
The canvas content object to use.

returns → Canvas

The canvas object.

Creates a new instance of Canvas.

Get​Sample


[ThreadSafe]
public method GetSample → (1)

coords in : CubemapFaceCoordsI

The cubemap face coordinates.

returns → HeightmapSample

An HeightmapSample value that describes the stored data.

Returns a sample that describes the data that is stored at the given location.

IOException

If an I/O error has occurred.

Public / Attributes

Bounds


public attribute Bounds → (get)

value : IMapRegion

The data region or null if not available.

Returns the map region that contains all data.

Sample​Layers


public attribute SampleLayers → (get)

value : HeightmapLayer

The sample layers.

Returns the layers that are defined in the samples returned by GetSample.

Sample​Range


public attribute SampleRange → (get)

value : VerticalRange

The sample range, in UnitOfMeasure.Metre.

Returns the vertical range for the samples returned by GetSample.