C# Class FarseerPhysics.Common.PolygonCreationAssistance

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

Private Properties

Property Type Description

Public Methods

Method 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 method

public InBounds ( Vector2 coord ) : bool
coord Vector2
return bool

IsSolid() public method

public IsSolid ( Vector2 pixel ) : bool
pixel Vector2
return bool

IsSolid() public method

public IsSolid ( int index ) : bool
index int
return bool

IsSolid() public method

public IsSolid ( int x, int y ) : bool
x int
y int
return bool

IsValid() public method

public IsValid ( ) : bool
return bool

PolygonCreationAssistance() public method

public PolygonCreationAssistance ( uint data, int width, int height ) : System
data uint
width int
height int
return System