Method | Description | |
---|---|---|
AdjustToScreen ( Point p ) : Point | ||
AdjustToScreen ( Polygon polygon ) : Polygon | ||
AdjustToScreen ( Vector2 v ) : Vector2 | ||
GetProjected ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ProjectPoint ( Point source ) : Point | ||
ProjectRectangle ( |
||
ProjectVector2 ( Vector2 source ) : Vector2 |
Projects a Vector2 from screen to world space.
|
|
TextureProjectionQuad ( ) : System | ||
TextureProjectionQuad ( int width, int height ) : System |
Method | Description | |
---|---|---|
CalculateQuadCorners ( ) : void | ||
FillVertices ( ) : void | ||
Project ( Vector3 source, Matrix projection, Matrix view, Matrix world ) : Vector3 | ||
SetupEffect ( ) : void | ||
WithinEpsilon ( float a, float b ) : bool |
public AdjustToScreen ( Polygon polygon ) : Polygon | ||
polygon | Polygon | |
return | Polygon |
public AdjustToScreen ( Vector2 v ) : Vector2 | ||
v | Vector2 | |
return | Vector2 |
public GetProjected ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public ProjectRectangle ( |
||
rectangle | ||
return | Polygon |
public ProjectVector2 ( Vector2 source ) : Vector2 | ||
source | Vector2 | |
return | Vector2 |
public TextureProjectionQuad ( int width, int height ) : System | ||
width | int | |
height | int | |
return | System |