C# Class Nexus.Graphics.Viewport3D

Afficher le fichier Open project: tgjones/nexus

Méthodes publiques

Méthode Description
Project ( Point3D source, Matrix3D projection, Matrix3D view, Matrix3D world ) : Point3D

Projects a scene point onto the screen.

ToString ( ) : string
Unproject ( Point3D source, Matrix3D projection, Matrix3D view, Matrix3D world ) : Point3D

Projects a screen point into the scene.

Viewport3D ( int x, int y, int width, int height ) : System.Globalization
Viewport3D ( int x, int y, int width, int height, float minDepth, float maxDepth ) : System.Globalization

Private Methods

Méthode Description
WithinEpsilon ( float a, float b ) : bool

Method Details

Project() public méthode

Projects a scene point onto the screen.
public Project ( Point3D source, Matrix3D projection, Matrix3D view, Matrix3D world ) : Point3D
source Point3D
projection Matrix3D
view Matrix3D
world Matrix3D
Résultat Point3D

ToString() public méthode

public ToString ( ) : string
Résultat string

Unproject() public méthode

Projects a screen point into the scene.
public Unproject ( Point3D source, Matrix3D projection, Matrix3D view, Matrix3D world ) : Point3D
source Point3D
projection Matrix3D
view Matrix3D
world Matrix3D
Résultat Point3D

Viewport3D() public méthode

public Viewport3D ( int x, int y, int width, int height ) : System.Globalization
x int
y int
width int
height int
Résultat System.Globalization

Viewport3D() public méthode

public Viewport3D ( int x, int y, int width, int height, float minDepth, float maxDepth ) : System.Globalization
x int
y int
width int
height int
minDepth float
maxDepth float
Résultat System.Globalization