C# Class FarseerPhysics.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

Private Properties

Свойство Type Description

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