C# Class CSharpGL.CameraHelper

Afficher le fichier Open project: bitzhuwei/CSharpGL

Méthodes publiques

Méthode Description
GetBack ( this camera ) : vec3

Get back vector in world space.

GetDown ( this camera ) : vec3

Gets standard down.

GetFront ( this camera ) : vec3

Get front vector in world space.

GetLeft ( this camera ) : vec3

Get left vector in world space.

GetRight ( this camera ) : vec3

Get right vector in world space.

GetUp ( this camera ) : vec3

Gets standard up.

MouseWheel ( this camera, int delta ) : void

对摄像机执行一次缩放操作

ZoomCamera ( this camera, IBoundingBox boundingBox ) : void

Zoom camera to fit in specified boundingBox.

Method Details

GetBack() public static méthode

Get back vector in world space.
public static GetBack ( this camera ) : vec3
camera this
Résultat vec3

GetDown() public static méthode

Gets standard down.
public static GetDown ( this camera ) : vec3
camera this
Résultat vec3

GetFront() public static méthode

Get front vector in world space.
public static GetFront ( this camera ) : vec3
camera this
Résultat vec3

GetLeft() public static méthode

Get left vector in world space.
public static GetLeft ( this camera ) : vec3
camera this
Résultat vec3

GetRight() public static méthode

Get right vector in world space.
public static GetRight ( this camera ) : vec3
camera this
Résultat vec3

GetUp() public static méthode

Gets standard up.
public static GetUp ( this camera ) : vec3
camera this
Résultat vec3

MouseWheel() public static méthode

对摄像机执行一次缩放操作
public static MouseWheel ( this camera, int delta ) : void
camera this
delta int
Résultat void

ZoomCamera() public static méthode

Zoom camera to fit in specified boundingBox.
public static ZoomCamera ( this camera, IBoundingBox boundingBox ) : void
camera this
boundingBox IBoundingBox
Résultat void