DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ UpdateRotation()

void PlayerPreview::UpdateRotation ( int mouse_x,
int mouse_y,
bool is_dragging )
inlineprotected

См. определение в файле PlayerPreview.c строка 30

31 {
33 {
35 orientation[1] = orientation[1] - ( m_CharacterRotationX - mouse_x );
36
37 m_CharacterPanelWidget.SetModelOrientation( orientation );
38
39 if ( !is_dragging )
40 {
42 }
43 }
44 }
vector orientation
Определения DustKickupEffects.c:21
ref PlayerPreviewWidget m_CharacterPanelWidget
Определения PlayerPreview.c:3
int m_CharacterRotationX
Определения PlayerPreview.c:5
vector m_CharacterOrientation
Определения PlayerPreview.c:8

Перекрестные ссылки m_CharacterOrientation, m_CharacterPanelWidget, m_CharacterRotationX и orientation.

Используется в UpdateInterval().