C# Class Project290.Physics.Common.PolygonCreationAssistance

Class used as a data container and helper for the texture-to-vertices code.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Свойство Type Description
Data uint[]
Height int
HoleDetection bool
MultipartDetection bool
Width int

Méthodes publiques

Méthode Description
InBounds ( Vector2 &coord ) : bool
IsSolid ( Vector2 &pixel ) : bool
IsSolid ( int index ) : bool
IsSolid ( int x, int y ) : bool
IsValid ( ) : bool
PolygonCreationAssistance ( uint data, int width, int height ) : System

Method Details

InBounds() public méthode

public InBounds ( Vector2 &coord ) : bool
coord Vector2
Résultat bool

IsSolid() public méthode

public IsSolid ( Vector2 &pixel ) : bool
pixel Vector2
Résultat bool

IsSolid() public méthode

public IsSolid ( int index ) : bool
index int
Résultat bool

IsSolid() public méthode

public IsSolid ( int x, int y ) : bool
x int
y int
Résultat bool

IsValid() public méthode

public IsValid ( ) : bool
Résultat bool

PolygonCreationAssistance() public méthode

public PolygonCreationAssistance ( uint data, int width, int height ) : System
data uint
width int
height int
Résultat System

Property Details

Data public_oe property

public uint[] Data
Résultat uint[]

Height public_oe property

public int Height
Résultat int

HoleDetection public_oe property

public bool HoleDetection
Résultat bool

MultipartDetection public_oe property

public bool MultipartDetection
Résultat bool

Width public_oe property

public int Width
Résultat int