C# Class ThreeDDrawing.CameraTransform

Afficher le fichier Open project: EFanZh/EFanZh Class Usage Examples

Méthodes publiques

Méthode Description
CameraTransform ( Point3D position, Quaternion rotation ) : System
GetCameraCoordinates ( Point3D point ) : Point3D
GetPitchAxis ( ) : Point3D
GetRollAxis ( ) : Point3D
GetYawAxis ( ) : Point3D
MoveDown ( double length ) : void
MoveForward ( double length ) : void
MoveRight ( double length ) : void
Pitch ( double angle ) : void
Reset ( ) : void
Roll ( double angle ) : void
Yaw ( double angle ) : void

Private Methods

Méthode Description
GetRotateQuaternion ( Point3D axis, double angle ) : Quaternion
Move ( Point3D axis, double length ) : void
Rotate ( Quaternion rotation, Point3D point ) : Point3D

Method Details

CameraTransform() public méthode

public CameraTransform ( Point3D position, Quaternion rotation ) : System
position Point3D
rotation Quaternion
Résultat System

GetCameraCoordinates() public méthode

public GetCameraCoordinates ( Point3D point ) : Point3D
point Point3D
Résultat Point3D

GetPitchAxis() public méthode

public GetPitchAxis ( ) : Point3D
Résultat Point3D

GetRollAxis() public méthode

public GetRollAxis ( ) : Point3D
Résultat Point3D

GetYawAxis() public méthode

public GetYawAxis ( ) : Point3D
Résultat Point3D

MoveDown() public méthode

public MoveDown ( double length ) : void
length double
Résultat void

MoveForward() public méthode

public MoveForward ( double length ) : void
length double
Résultat void

MoveRight() public méthode

public MoveRight ( double length ) : void
length double
Résultat void

Pitch() public méthode

public Pitch ( double angle ) : void
angle double
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Roll() public méthode

public Roll ( double angle ) : void
angle double
Résultat void

Yaw() public méthode

public Yaw ( double angle ) : void
angle double
Résultat void