C# 클래스 SimShift.MapTool.Ets2Item

파일 보기 프로젝트 열기: nlhans/SimShift 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Origin int

공개 메소드들

메소드 설명
Apply ( Ets2Node node ) : bool
Ets2Item ( ulong uid, Ets2Sector sector, int offset ) : System
GenerateRoadCurve ( int steps, bool leftlane, int lane ) : IEnumerable

Generate road curves for a specific lane. The curve is generated with [steps] nodes and positioned left or right from the road's middle point. Additionally, each extra lane is shifted 4.5 game units outward.

GenerateRoadPolygon ( int steps ) : void
ToString ( ) : string

비공개 메소드들

메소드 설명
AddNodeUID ( ulong nodeUid ) : bool

메소드 상세

Apply() 공개 메소드

public Apply ( Ets2Node node ) : bool
node Ets2Node
리턴 bool

Ets2Item() 공개 메소드

public Ets2Item ( ulong uid, Ets2Sector sector, int offset ) : System
uid ulong
sector Ets2Sector
offset int
리턴 System

GenerateRoadCurve() 공개 메소드

Generate road curves for a specific lane. The curve is generated with [steps] nodes and positioned left or right from the road's middle point. Additionally, each extra lane is shifted 4.5 game units outward.
public GenerateRoadCurve ( int steps, bool leftlane, int lane ) : IEnumerable
steps int
leftlane bool
lane int
리턴 IEnumerable

GenerateRoadPolygon() 공개 메소드

public GenerateRoadPolygon ( int steps ) : void
steps int
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Origin 공개적으로 프로퍼티

public int Origin
리턴 int