C# 클래스 Voronoi2.GraphEdge

파일 보기 프로젝트 열기: evilfactory/Barotrauma-lua-attempt 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Cell1 Voronoi2.VoronoiCell
IsSolid bool
NextToCave bool
OutsideLevel bool
Point1 Vector2
Site1 Site

공개 메소드들

메소드 설명
AdjacentCell ( Voronoi2.VoronoiCell cell ) : Voronoi2.VoronoiCell
GetNormal ( Voronoi2.VoronoiCell cell ) : Vector2

Returns the normal of the edge that points outwards from the specified cell

GraphEdge ( Vector2 point1, Vector2 point2 ) : Barotrauma
ToString ( ) : string

메소드 상세

AdjacentCell() 공개 메소드

public AdjacentCell ( Voronoi2.VoronoiCell cell ) : Voronoi2.VoronoiCell
cell Voronoi2.VoronoiCell
리턴 Voronoi2.VoronoiCell

GetNormal() 공개 메소드

Returns the normal of the edge that points outwards from the specified cell
public GetNormal ( Voronoi2.VoronoiCell cell ) : Vector2
cell Voronoi2.VoronoiCell
리턴 Vector2

GraphEdge() 공개 메소드

public GraphEdge ( Vector2 point1, Vector2 point2 ) : Barotrauma
point1 Vector2
point2 Vector2
리턴 Barotrauma

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Cell1 공개적으로 프로퍼티

public VoronoiCell,Voronoi2 Cell1
리턴 Voronoi2.VoronoiCell

IsSolid 공개적으로 프로퍼티

public bool IsSolid
리턴 bool

NextToCave 공개적으로 프로퍼티

public bool NextToCave
리턴 bool

OutsideLevel 공개적으로 프로퍼티

public bool OutsideLevel
리턴 bool

Point1 공개적으로 프로퍼티

public Vector2 Point1
리턴 Vector2

Site1 공개적으로 프로퍼티

public Site,Voronoi2 Site1
리턴 Site