| TerrainRoadLayerTileSize Property |
Gets or sets the tile size of the road textures in world space.
(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 TileSize { get; set; }
Public Property TileSize As Single
Get
Set
public:
property float TileSize {
float get ();
void set (float value);
}
member TileSize : float32 with get, set
Property Value
Type:
SingleThe 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