C# Class Xpf.Samples.S04BasketballScoreboard.Camera

Show file Open project: redbadger/XPF

Public Methods

Method Description
Camera ( string name ) : System
LookAt ( Vector3 target ) : void
LookAt ( Vector3 eye, Vector3 target, Vector3 up ) : void
Move ( Vector3 vector ) : void
Move ( float deltaX, float deltaY, float deltaZ ) : void
Perspective ( float fieldOfView, float aspectRatio, float nearClip, float farClip ) : void
Rotate ( float yaw, float pitch, float roll ) : void

Private Methods

Method Description
OnViewMatrixChanged ( ) : void
UpdateProjectionMatrix ( ) : void
UpdateViewMatrix ( ) : void
UpdateViewProjectionMatrix ( ) : void

Method Details

Camera() public method

public Camera ( string name ) : System
name string
return System

LookAt() public method

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

LookAt() public method

public LookAt ( Vector3 eye, Vector3 target, Vector3 up ) : void
eye Vector3
target Vector3
up Vector3
return void

Move() public method

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

Move() public method

public Move ( float deltaX, float deltaY, float deltaZ ) : void
deltaX float
deltaY float
deltaZ float
return void

Perspective() public method

public Perspective ( float fieldOfView, float aspectRatio, float nearClip, float farClip ) : void
fieldOfView float
aspectRatio float
nearClip float
farClip float
return void

Rotate() public method

public Rotate ( float yaw, float pitch, float roll ) : void
yaw float
pitch float
roll float
return void