Méthode | Description | |
---|---|---|
DetectVertices ( uint data, int width, int height, float hullTolerance, byte alphaTolerance, bool multiPartDetection, bool holeDetection ) : List |
Detects the vertices of the supplied texture data.
|
|
DetectVertices ( uint data, int width, int height ) : Vertices |
Detects the vertices of the supplied texture data.
|
|
DetectVertices ( uint data, int width, int height, bool holeDetection ) : Vertices |
Detects the vertices of the supplied texture data.
|
Méthode | Description | |
---|---|---|
CreateSimplePolygon ( |
||
DetectVertices ( |
||
DistanceToHullAcceptable ( |
||
GetBottomMostCoord ( Vertices vertices ) : float | ||
GetCrossingEdges ( Vertices polygon, EdgeAlignment edgeAlign, int checkLine ) : List |
||
GetHoleHullEntrance ( |
||
GetHullEntrance ( |
||
GetIndexOfFirstPixelToCheck ( Vector2 &last, Vector2 ¤t ) : int | ||
GetNextHullEntrance ( |
||
GetNextHullPoint ( |
||
GetTopMostCoord ( Vertices vertices ) : float | ||
GetTopMostVertex ( Vertices vertices ) : Vector2? | ||
InPolygon ( |
||
IsNearPixel ( |
||
SearchForOutstandingVertex ( Vertices hullArea, float hullTolerance, Vector2 &outstanding ) : bool | ||
SearchNearPixels ( |
||
SplitPolygonEdge ( Vertices polygon, EdgeAlignment edgeAlign, Vector2 coordInsideThePolygon, int &vertex1Index, int &vertex2Index ) : bool |
public static DetectVertices ( uint data, int width, int height, float hullTolerance, byte alphaTolerance, bool multiPartDetection, bool holeDetection ) : List |
||
data | uint | The texture data. |
width | int | The texture width. |
height | int | The texture height. |
hullTolerance | float | The hull tolerance. |
alphaTolerance | byte | The alpha tolerance. |
multiPartDetection | bool | if set to |
holeDetection | bool | if set to |
Résultat | List |
public static DetectVertices ( uint data, int width, int height ) : Vertices | ||
data | uint | The texture data. |
width | int | The texture width. |
height | int | The texture height. |
Résultat | Vertices |
public static DetectVertices ( uint data, int width, int height, bool holeDetection ) : Vertices | ||
data | uint | The texture data. |
width | int | The texture width. |
height | int | The texture height. |
holeDetection | bool | if set to |
Résultat | Vertices |