Свойство | Тип | Описание | |
---|---|---|---|
ViewPosition | System.Vector3 |
Свойство | Тип | Описание | |
---|---|---|---|
m_downKeys | bool>.Dictionary | ||
m_mouseDownPos | System.Vector2 | ||
m_viewRotQuat | Quaternion |
Метод | Описание | |
---|---|---|
BaseCamera ( ) : System | ||
FrameMove ( System.TimeSpan elapsed ) : void | ||
HandleKeyDown ( |
||
HandleKeyUp ( |
||
HandleMouseDown ( |
||
HandleMouseMove ( |
||
HandleMouseUp ( |
||
HandleMouseWheel ( |
||
Reset ( ) : void | ||
Roll ( float angle ) : void |
TODO: accept a real angle as a value
|
|
SetProjParams ( float fFOV, float fAspect, float fNearPlane, float fFarPlane ) : void | ||
SetScalers ( float sRotation, float sMove ) : void | ||
SetViewParams ( System.Vector3 eye, System.Vector3 lookAt ) : void | ||
SetViewParams ( System.Vector3 eye, System.Vector3 lookAt, System.Vector3 vUp ) : void |
Метод | Описание | |
---|---|---|
GetMouseAngle ( System.Vector2 dp, |
||
GetVector ( |
||
KeyMove ( System.Vector3 dp ) : void | ||
KeyRoll ( float angle ) : void | ||
KeyRotateHorizontal ( float angle ) : void | ||
MouseRotation ( Quaternion dMouse ) : void | ||
UpdateView ( ) : void |
Метод | Описание | |
---|---|---|
GetRollSpeed ( Key k ) : float | ||
GetSpeed ( Key k ) : System.Vector3 | ||
OnInitInteractive ( ) : void | ||
UpdateProj ( ) : void |
public FrameMove ( System.TimeSpan elapsed ) : void | ||
elapsed | System.TimeSpan | |
Результат | void |
protected GetMouseAngle ( System.Vector2 dp, |
||
dp | System.Vector2 | |
ui | ||
Результат | float |
protected static GetVector ( |
||
ui | ||
e | System.Windows.Input.MouseEventArgs | |
Результат | System.Vector2 |
public HandleKeyDown ( |
||
ui | ||
e | System.Windows.Input.KeyEventArgs | |
Результат | void |
public HandleKeyUp ( |
||
ui | ||
e | System.Windows.Input.KeyEventArgs | |
Результат | void |
public HandleMouseDown ( |
||
ui | ||
e | System.Windows.Input.MouseButtonEventArgs | |
Результат | void |
public HandleMouseMove ( |
||
ui | ||
e | System.Windows.Input.MouseEventArgs | |
Результат | void |
public HandleMouseUp ( |
||
ui | ||
e | System.Windows.Input.MouseButtonEventArgs | |
Результат | void |
public HandleMouseWheel ( |
||
ui | ||
e | System.Windows.Input.MouseWheelEventArgs | |
Результат | void |
protected KeyMove ( System.Vector3 dp ) : void | ||
dp | System.Vector3 | |
Результат | void |
protected KeyRotateHorizontal ( float angle ) : void | ||
angle | float | |
Результат | void |
protected MouseRotation ( Quaternion dMouse ) : void | ||
dMouse | Quaternion | |
Результат | void |
public SetProjParams ( float fFOV, float fAspect, float fNearPlane, float fFarPlane ) : void | ||
fFOV | float | |
fAspect | float | |
fNearPlane | float | |
fFarPlane | float | |
Результат | void |
public SetScalers ( float sRotation, float sMove ) : void | ||
sRotation | float | |
sMove | float | |
Результат | void |
public SetViewParams ( System.Vector3 eye, System.Vector3 lookAt ) : void | ||
eye | System.Vector3 | |
lookAt | System.Vector3 | |
Результат | void |
public SetViewParams ( System.Vector3 eye, System.Vector3 lookAt, System.Vector3 vUp ) : void | ||
eye | System.Vector3 | |
lookAt | System.Vector3 | |
vUp | System.Vector3 | |
Результат | void |