| TerrainRoadLayerRoadLength Property |
Gets the length of the road in world space units.
(This is a material parameter - see remarks.)
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float RoadLength { get; set; }
Public Property RoadLength As Single
Get
Set
public:
property float RoadLength {
float get ();
void set (float value);
}
member RoadLength : float32 with get, set
Property Value
Type:
SingleThe 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