GameInputMouseState
마우스의 상태를 기술합니다.
구문
typedef struct GameInputMouseState {
GameInputMouseButtons buttons;
int64_t positionX;
int64_t positionY;
int64_t wheelX;
int64_t wheelY;
} GameInputMouseState
멤버
buttons
형식: GameInputMouseButtons
마우스 단추의 상태입니다.
positionX
형식: int64_t
마우스 위치의 누적 X축 변경입니다.
positionY
형식: int64_t
마우스 위치의 누적 Y축 변경입니다.
wheelX
형식: int64_t
X축 스크롤 휠의 누적 변경입니다.
wheelY
형식: int64_t
Y축 스크롤 휠의 누적 변경입니다.
설명
이 구조는 IGameInputReading::GetMouseState 메서드에서 사용됩니다.
마우스 및 스크롤 휠 움직임은 절대적인 위치로 보고되지 않습니다. 이전 판독치의 값에서 현재 판독치의 값을 빼서 델타를 계산합니다.
자세한 내용은 GameInput 판독값을 참조하세요.
요구 사항
헤더: GameInput.h
지원되는 플랫폼: Windows, Xbox One 패밀리 콘솔 및 Xbox Series 콘솔