C# Class ThreeDDrawing.CameraTransform

Mostrar archivo Open project: EFanZh/EFanZh Class Usage Examples

Public Methods

Method 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

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

Method Details

CameraTransform() public method

public CameraTransform ( Point3D position, Quaternion rotation ) : System
position Point3D
rotation Quaternion
return System

GetCameraCoordinates() public method

public GetCameraCoordinates ( Point3D point ) : Point3D
point Point3D
return Point3D

GetPitchAxis() public method

public GetPitchAxis ( ) : Point3D
return Point3D

GetRollAxis() public method

public GetRollAxis ( ) : Point3D
return Point3D

GetYawAxis() public method

public GetYawAxis ( ) : Point3D
return Point3D

MoveDown() public method

public MoveDown ( double length ) : void
length double
return void

MoveForward() public method

public MoveForward ( double length ) : void
length double
return void

MoveRight() public method

public MoveRight ( double length ) : void
length double
return void

Pitch() public method

public Pitch ( double angle ) : void
angle double
return void

Reset() public method

public Reset ( ) : void
return void

Roll() public method

public Roll ( double angle ) : void
angle double
return void

Yaw() public method

public Yaw ( double angle ) : void
angle double
return void