genesis-3d_engine/Engine/players/DemoUI/inputprocss.h
zhongdaohuan 6e8fbca745 genesis-3d engine version 1.3.
match the genesis editor version 1.3.0.653.
2014-05-05 14:50:33 +08:00

48 lines
993 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** \file defaultinputprocss.h
* \brief 文件内容说明
* Copyright (c) 2011,畅游天下WebJet事业部
* All rights reserved.
* Date Ver Who Comment
* 2011:9:16 1.0 王兴博
*/
#ifndef __gyrostinputprocss_H__
#define __gyrostinputprocss_H__
#include "app/appframework/manager.h"
#include "app/apputil/mayacamerautil.h"
namespace App
{
/*
系统提供的对用户输入的默认处理:根据输入消息操纵主相机。
如果需要该处理将该GyrostProcessInput(Manager加入到InputFeature中。否则可以使用自己的输入处理类
*/
class GyrostProcessInput: public App::Manager
{
__DeclareSubClass(GyrostProcessInput, App::Manager );
public:
GyrostProcessInput();
~GyrostProcessInput();
/// @App::Manager::OnActivate called when attached to game server
virtual void OnActivate();
/// @App::Manager::OnBeginFrame called before frame by the game server
virtual void OnBeginFrame();
public:
AppUtil::MayaCameraUtil m_mayaCameraUtil;
};
}
#endif // __gyrostinputprocss_H__