Struct HexRoadsRenderSettings
Structure defining rendering settings for roads in a hex terrain.
Inherited Members
Namespace: Fwt.HexTerrains.ChunkMehes.Data
Assembly: fwt.hexterrains.dll
Syntax
[Serializable]
public struct HexRoadsRenderSettings
Fields
CrossRoadsUvScale
Multiplier for the UV scale of the crossroads texture mapping (cell center).
Declaration
[Tooltip("Multiplier for the UV scale of the crossroads texture mapping (cell center).")]
public float CrossRoadsUvScale
Field Value
| Type | Description |
|---|---|
| float |
HeightTreshold
Specifies the maximum height difference between adjacent cells for roads to be rendered between them IsUseHeightTreshold.
Declaration
public float HeightTreshold
Field Value
| Type | Description |
|---|---|
| float |
IsUseHeightTreshold
If true, roads will only be rendered between cells whose height difference is less than HeightTreshold.
Declaration
public bool IsUseHeightTreshold
Field Value
| Type | Description |
|---|---|
| bool |
RoadThickness
Specifies the thickness of the road proportional to a HexRadius. 1.0 means the road will be as thick as the hex cell radius.
Declaration
[Tooltip("Specifies the thickness of the road proportional to a HexRadius. 1.0 means the road will be as thick as the hex cell radius.")]
[Range(0, 1)]
public float RoadThickness
Field Value
| Type | Description |
|---|---|
| float |
RoadsTileScaleBridge
Road texture tiling scale applied to the road UVs on the bridge part of the road.
Declaration
[Tooltip("Road texture tiling scale applied to the road UVs on the bridge part of the road.")]
public float RoadsTileScaleBridge
Field Value
| Type | Description |
|---|---|
| float |
RoadsTileScalePlato
Road texture tiling scale applied to the road UVs on the plato part of the road.
Declaration
[Tooltip("Road texture tiling scale applied to the road UVs.")]
public float RoadsTileScalePlato
Field Value
| Type | Description |
|---|---|
| float |
Properties
Default
Declaration
public static HexRoadsRenderSettings Default { get; }
Property Value
| Type | Description |
|---|---|
| HexRoadsRenderSettings |