HeightmapEventArgs

Description

sealed class Tinman.Terrain.Heightmaps.HeightmapEventArgs

Event object for IHeightmap.OnUpdated.

Public / Constructors

HeightmapEventArgs


public constructor HeightmapEventArgs → (2)

source in : IHeightmap

[not-null]
The heightmap that has been modified.

region in : CubemapFaceRect

The modified heightmap region.

Creates a new instance of HeightmapEventArgs.

Public / Methods

SetSource


public method SetSource → (1)

source in : IHeightmap

[not-null]
The heightmap that has been modified.

returns → HeightmapEventArgs

The resulting event argument object.

Creates a new instance of HeightmapEventArgs for the given source heightmap.

Public / Attributes

Region


public readonly attribute Region → (CubemapFaceRect)

The modified heightmap region.

Source


public readonly attribute Source → (IHeightmap)

The heightmap that has been modified.