Class SdkArcBall
Assembly: JeremyAnsel.DirectX.SdkCamera.dll
Syntax
Constructors
|
Edit this page
View Source
SdkArcBall()
Declaration
Fields
|
Edit this page
View Source
m_Offset
Declaration
protected XMInt2 m_Offset
Field Value
|
Edit this page
View Source
m_bDrag
Declaration
Field Value
|
Edit this page
View Source
m_fRadius
Declaration
protected float m_fRadius
Field Value
|
Edit this page
View Source
m_fRadiusTranslation
Declaration
protected float m_fRadiusTranslation
Field Value
|
Edit this page
View Source
m_mRotation
Declaration
protected XMMatrix m_mRotation
Field Value
Type |
Description |
XMMatrix |
|
|
Edit this page
View Source
m_mTranslation
Declaration
protected XMMatrix m_mTranslation
Field Value
Type |
Description |
XMMatrix |
|
|
Edit this page
View Source
m_mTranslationDelta
Declaration
protected XMMatrix m_mTranslationDelta
Field Value
Type |
Description |
XMMatrix |
|
|
Edit this page
View Source
m_nHeight
Declaration
Field Value
|
Edit this page
View Source
m_nWidth
Declaration
Field Value
|
Edit this page
View Source
m_ptLastMouse
Declaration
protected XMInt2 m_ptLastMouse
Field Value
|
Edit this page
View Source
m_qDown
Declaration
protected XMVector m_qDown
Field Value
Type |
Description |
XMVector |
|
|
Edit this page
View Source
m_qNow
Declaration
protected XMVector m_qNow
Field Value
Type |
Description |
XMVector |
|
|
Edit this page
View Source
m_vCenter
Declaration
protected XMFloat2 m_vCenter
Field Value
Type |
Description |
XMFloat2 |
|
|
Edit this page
View Source
m_vCurrentPt
Declaration
protected XMFloat3 m_vCurrentPt
Field Value
Type |
Description |
XMFloat3 |
|
|
Edit this page
View Source
m_vDownPt
Declaration
protected XMFloat3 m_vDownPt
Field Value
Type |
Description |
XMFloat3 |
|
Methods
|
Edit this page
View Source
GetQuatNow()
Declaration
public XMVector GetQuatNow()
Returns
Type |
Description |
XMVector |
|
|
Edit this page
View Source
GetRotationMatrix()
Declaration
public XMMatrix GetRotationMatrix()
Returns
Type |
Description |
XMMatrix |
|
|
Edit this page
View Source
GetTranslationDeltaMatrix()
Declaration
public XMMatrix GetTranslationDeltaMatrix()
Returns
Type |
Description |
XMMatrix |
|
|
Edit this page
View Source
GetTranslationMatrix()
Declaration
public XMMatrix GetTranslationMatrix()
Returns
Type |
Description |
XMMatrix |
|
|
Edit this page
View Source
HandleMessages(nint, WindowMessageType, nint, nint)
Declaration
public void HandleMessages(nint hWnd, WindowMessageType msg, nint wParam, nint lParam)
Parameters
Type |
Name |
Description |
nint |
hWnd |
|
WindowMessageType |
msg |
|
nint |
wParam |
|
nint |
lParam |
|
|
Edit this page
View Source
IsBeingDragged()
Declaration
public bool IsBeingDragged()
Returns
|
Edit this page
View Source
OnBegin(int, int)
Declaration
public void OnBegin(int nX, int nY)
Parameters
Type |
Name |
Description |
int |
nX |
|
int |
nY |
|
|
Edit this page
View Source
OnEnd()
Declaration
|
Edit this page
View Source
OnMove(int, int)
Declaration
public void OnMove(int nX, int nY)
Parameters
Type |
Name |
Description |
int |
nX |
|
int |
nY |
|
|
Edit this page
View Source
QuatFromBallPoints(XMVector, XMVector)
Declaration
public static XMVector QuatFromBallPoints(XMVector vFrom, XMVector vTo)
Parameters
Type |
Name |
Description |
XMVector |
vFrom |
|
XMVector |
vTo |
|
Returns
Type |
Description |
XMVector |
|
|
Edit this page
View Source
Reset()
Declaration
|
Edit this page
View Source
ScreenToVector(float, float)
Declaration
protected XMVector ScreenToVector(float fScreenPtX, float fScreenPtY)
Parameters
Type |
Name |
Description |
float |
fScreenPtX |
|
float |
fScreenPtY |
|
Returns
Type |
Description |
XMVector |
|
|
Edit this page
View Source
SetOffset(int, int)
Declaration
public void SetOffset(int nX, int nY)
Parameters
Type |
Name |
Description |
int |
nX |
|
int |
nY |
|
|
Edit this page
View Source
SetQuatNow(XMVector)
Declaration
public void SetQuatNow(XMVector q)
Parameters
Type |
Name |
Description |
XMVector |
q |
|
|
Edit this page
View Source
SetTranslationRadius(float)
Declaration
public void SetTranslationRadius(float fRadiusTranslation)
Parameters
Type |
Name |
Description |
float |
fRadiusTranslation |
|
|
Edit this page
View Source
SetWindow(int, int)
Declaration
public void SetWindow(int nWidth, int nHeight)
Parameters
Type |
Name |
Description |
int |
nWidth |
|
int |
nHeight |
|
|
Edit this page
View Source
SetWindow(int, int, float)
Declaration
public void SetWindow(int nWidth, int nHeight, float fRadius)
Parameters
Type |
Name |
Description |
int |
nWidth |
|
int |
nHeight |
|
float |
fRadius |
|