C# Class PSSMDemo.BasicCamera

Show file Open project: willcraftia/TestXna Class Usage Examples

Public Properties

Property Type Description
Projection Matrix
View Matrix

Public Methods

Method Description
BasicCamera ( ) : System
LookAt ( Vector3 target ) : void
Move ( Vector3 movement ) : void
MoveRelative ( Vector3 movement ) : void
Pitch ( float angle ) : void
Roll ( float angle ) : void
Rotate ( Vector3 axis, float angle ) : void
Update ( ) : void
UpdateProjection ( ) : void
UpdateView ( ) : void
Yaw ( float angle ) : void

Method Details

BasicCamera() public method

public BasicCamera ( ) : System
return System

LookAt() public method

public LookAt ( Vector3 target ) : void
target Vector3
return void

Move() public method

public Move ( Vector3 movement ) : void
movement Vector3
return void

MoveRelative() public method

public MoveRelative ( Vector3 movement ) : void
movement Vector3
return void

Pitch() public method

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

Roll() public method

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

Rotate() public method

public Rotate ( Vector3 axis, float angle ) : void
axis Vector3
angle float
return void

Update() public method

public Update ( ) : void
return void

UpdateProjection() public method

public UpdateProjection ( ) : void
return void

UpdateView() public method

public UpdateView ( ) : void
return void

Yaw() public method

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

Property Details

Projection public property

射影行列。
public Matrix Projection
return Matrix

View public property

ビュー行列。
public Matrix View
return Matrix