Click or drag to resize
DigitalRuneTerrainRoadLayerTileSize Property
Gets or sets the tile size of the road textures in world space. (This is a material parameter - see remarks.)

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float TileSize { get; set; }

Property Value

Type: Single
The tile size of the road textures in world space. The default value is 1.
Remarks

This is material parameter. Changing this property affects all terrain layers that share the same material.

The road textures repeat along the road. The road direction is mapped to the v-axis texture space. The default value is 1, which means that the textures repeat every 1 world space unit along the road.

See Also