TerrainLayerTexture

Description

sealed class Tinman.Engine.Components.TerrainLayerTexture

Derived from

Disposable abstract

Settings for TerrainLayer objects of type TerrainLayerType.Texture.

Public / Methods

Clear


public method Clear → ()

Clears the texture assignment of all terrain layer slots.

Slot


public method Slot → (1)

slot in : int32

[0..TerrainSlotMapping.SlotCount-1]
The slot index.

returns → TerrainLayerSlot

The terrain layer texture slot.

Returns a terrain layer slot.

Public / Attributes

Mapping


public attribute Mapping → (get,set)

value : TerrainSlotMapping

The semantic flags.

The semantic flags of the current texture assignment of this terrain layer slot.

Mipmap​Offset


public attribute MipmapOffset → (get,set)

value : float32

The level-of-detail of texture tiles.

The texture mipmap offset can be used to fine-tune the texture output.

This property is forwarded to Texturing.MipmapOffset of each aggregated Texturing object.

Defaults to 0.