EasyRoads3D V3 Beta Manual
 

 

ERConnection


Description

This is the base class for an EasyRoads3D connection/crossing between roads.

 

Constructors

...

 

Functions

 

public bool Destroy()

Removes the connection object

 

public ERConnectionData[] GetConnectionData()

Returns the currently available connection data of the connection object

 

public string GetName()

Returns the name of the connection object

 

public void SetPosition(Vector3 position)

Updates the position of the connection object

 

public void SetName(string name)

Updates the name of the connection object

 

public void SetRotation(Vector3 euler)

Updates the eulerAngles rotation of the connection object

 

public void UnConnect(int connectionIndex)

Removes the connection with the road object at connectionIndex.