8 private float m_fSpeed;
13 if (!param.isManualInputEnabled || param.isManualInput || !param.isCursorEnabled)
16 float inputValue =
GetInputManager().GetActionValue(
"ManualCameraMoveToCursor");
20 WorkspaceWidget workspace =
GetGame().GetWorkspace();
26 WidgetManager.GetMousePos(mouseX, mouseY);
30 workspace.ProjScreenToWorld(workspace.DPIUnscale(mouseX), workspace.DPIUnscale(mouseY), outDir,
GetGame().GetWorld());
32 param.transform[3] = param.transform[3] + outDir * inputValue * m_fSpeed * Math.Sqrt(param.multiplier.Length());
34 param.isManualInput =
true;
38 override bool EOnCameraInit()