C# Class e2dTerrainBoundary, E2D-Continued

Inheritance: e2dTerrainMesh
显示文件 Open project: ryanlatham/E2D-Continued Class Usage Examples

Public Methods

Method Description
EnsurePointIsInBoundary ( Vector3 &point ) : void
FixBoundary ( ) : void
GetBoundaryRect ( ) : Vector2[]
ProjectEndPointToBoundary ( Vector2 &point ) : int
ProjectPointToBoundary ( Vector2 &point, int startCurveIndex, int endCurveIndex ) : int
ProjectStartPointToBoundary ( Vector2 &point ) : int
e2dTerrainBoundary ( e2dTerrain, terrain ) : System.Collections

Private Methods

Method Description
ProjectPointToBoundaryEdge ( Vector2 point, int edgeIndex ) : Vector2

Method Details

EnsurePointIsInBoundary() public method

public EnsurePointIsInBoundary ( Vector3 &point ) : void
point Vector3
return void

FixBoundary() public method

public FixBoundary ( ) : void
return void

GetBoundaryRect() public method

public GetBoundaryRect ( ) : Vector2[]
return Vector2[]

ProjectEndPointToBoundary() public method

public ProjectEndPointToBoundary ( Vector2 &point ) : int
point Vector2
return int

ProjectPointToBoundary() public method

public ProjectPointToBoundary ( Vector2 &point, int startCurveIndex, int endCurveIndex ) : int
point Vector2
startCurveIndex int
endCurveIndex int
return int

ProjectStartPointToBoundary() public method

public ProjectStartPointToBoundary ( Vector2 &point ) : int
point Vector2
return int

e2dTerrainBoundary() public method

public e2dTerrainBoundary ( e2dTerrain, terrain ) : System.Collections
terrain e2dTerrain,
return System.Collections