RealWorldTerrainPrefsBase.Roads.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* INFINITY CODE */
  2. /* https://infinity-code.com */
  3. using UnityEngine;
  4. namespace InfinityCode.RealWorldTerrain
  5. {
  6. public partial class RealWorldTerrainPrefsBase
  7. {
  8. public string[] erRoadTypes;
  9. public bool erGenerateConnection = true;
  10. /// <summary>
  11. /// EasyRoads3D SnapToTerrain
  12. /// </summary>
  13. public bool erSnapToTerrain = true;
  14. public float erWidthMultiplier = 1;
  15. /// <summary>
  16. /// Name of road engine.
  17. /// </summary>
  18. public string roadEngine;
  19. /// <summary>
  20. /// Types of roads that will be created.
  21. /// </summary>
  22. public RealWorldTerrainRoadType roadTypes = (RealWorldTerrainRoadType)(~0);
  23. /// <summary>
  24. /// The mode of generation of road types
  25. /// </summary>
  26. public RealWorldTerrainRoadTypeMode roadTypeMode = RealWorldTerrainRoadTypeMode.simple;
  27. /// <summary>
  28. /// The material that will be used to SplineBend roads.
  29. /// </summary>
  30. public Material splineBendMaterial;
  31. /// <summary>
  32. /// The mesh that will be used to SplineBend roads.
  33. /// </summary>
  34. public Mesh splineBendMesh;
  35. }
  36. }