• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.DirectX.SdkCamera
      • SdkArcBall
      • SdkBaseCamera
      • SdkCameraKey
      • SdkCameraKeyStates
      • SdkCameraMouseKeys
      • SdkFirstPersonCamera
      • SdkModelViewerCamera

    Class SdkArcBall

    Inheritance
    object
    SdkArcBall
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: JeremyAnsel.DirectX.SdkCamera
    Assembly: JeremyAnsel.DirectX.SdkCamera.dll
    Syntax
    public class SdkArcBall

    Constructors

    | Edit this page View Source

    SdkArcBall()

    Declaration
    public SdkArcBall()

    Fields

    | Edit this page View Source

    m_Offset

    Declaration
    protected XMInt2 m_Offset
    Field Value
    Type Description
    XMInt2
    | Edit this page View Source

    m_bDrag

    Declaration
    protected bool m_bDrag
    Field Value
    Type Description
    bool
    | Edit this page View Source

    m_fRadius

    Declaration
    protected float m_fRadius
    Field Value
    Type Description
    float
    | Edit this page View Source

    m_fRadiusTranslation

    Declaration
    protected float m_fRadiusTranslation
    Field Value
    Type Description
    float
    | 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
    protected int m_nHeight
    Field Value
    Type Description
    int
    | Edit this page View Source

    m_nWidth

    Declaration
    protected int m_nWidth
    Field Value
    Type Description
    int
    | Edit this page View Source

    m_ptLastMouse

    Declaration
    protected XMInt2 m_ptLastMouse
    Field Value
    Type Description
    XMInt2
    | 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
    Type Description
    bool
    | 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
    public void OnEnd()
    | 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
    public void Reset()
    | 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
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2020-2022 Jérémy Ansel