EasyRoads3D V3 Beta Manual
 

 

ERRoadType


Description

This is the base class for an EasyRoads3D road type

 

Constructors

public ERRoadType()

 

Variables

public string roadTypeName;

The name of the road type


public float roadWidth;

The width of the road


public Material roadMaterial;

The road material

public Material roadPhysicsMaterial;

The physics material


public bool isSideObject;

No road mesh will be created when this value is false


public int layer;

The layer for this type of road


public string tag;

The tag for this type of road

 

Functions

 

public void Update()

Stores/updates the road type permanantly in the road network road type info. This can be useful when using the API inside the Unity editor.