C# Class Vector.Gpu.ViewPort

Exibir arquivo Open project: sinclairzx81/vector-cs Class Usage Examples

Public Methods

Method Description
Project ( System.Vector3 source, System.Matrix projection, System.Matrix view, System.Matrix world ) : System.Vector3
ToString ( ) : string
Unproject ( System.Vector3 source, System.Matrix projection, System.Matrix view, System.Matrix world ) : System.Vector3
ViewPort ( int x, int y, int width, int height ) : System
ViewPort ( int x, int y, int width, int height, int minZ, int maxZ ) : System

Private Methods

Method Description
WithinEpsilon ( float a, float b ) : bool

Method Details

Project() public method

public Project ( System.Vector3 source, System.Matrix projection, System.Matrix view, System.Matrix world ) : System.Vector3
source System.Vector3
projection System.Matrix
view System.Matrix
world System.Matrix
return System.Vector3

ToString() public method

public ToString ( ) : string
return string

Unproject() public method

public Unproject ( System.Vector3 source, System.Matrix projection, System.Matrix view, System.Matrix world ) : System.Vector3
source System.Vector3
projection System.Matrix
view System.Matrix
world System.Matrix
return System.Vector3

ViewPort() public method

public ViewPort ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
return System

ViewPort() public method

public ViewPort ( int x, int y, int width, int height, int minZ, int maxZ ) : System
x int
y int
width int
height int
minZ int
maxZ int
return System