/// <summary> /// Update the end points /// </summary> /// <param name="roadBuilderObject">The base object</param> public void UpdateEndPoints(IRoadBuildData roadBuilderObject) { List <Guid> list = IntersectionManager.Instance[_connectionSet]; MeshBuilderJunction jb = new MeshBuilderJunction( roadBuilderObject, list, _roadNetworkNode, _materialName); jb.UpdateEndPoints(); }
/// <summary> /// Modifiy the terrain /// </summary> /// <param name="roadBuilderObject">The road object</param> /// <param name="tm">The terrain modifier</param> public void ModifyTerrain(IRoadBuildData roadBuilderObject, TerrainModifier tm) { List <Guid> list = IntersectionManager.Instance[_connectionSet]; MeshBuilderJunction jb = new MeshBuilderJunction( roadBuilderObject, list, _roadNetworkNode, _materialName); jb.ApplyTerrain(tm); }