Click or drag to resize
DigitalRuneTerrainRoadLayerRoadLength Property
Gets the length of the road in world space units. (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 RoadLength { get; set; }

Property Value

Type: Single
The length of the road in world space units. The default value is 1.
Remarks

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

The road length needs to be precomputed. The property affects the tiling of the textures along the road direction.

See Also