예제 #1
0
 public ActionScreenHumanView(PlayerInfo playerInfo, CharacterInfo selectedCharacter, ContentManager contentLoader)
     : base(playerInfo, selectedCharacter, contentLoader)
 {
     mMmoCameraDesc = new MmoCameraDesc();
     mCamera = new StaticCamera();
     mShadowViewMode = false;
     mBright = 0.1f;
     mContrast = 1.0f;
     mBrightParam = null;
     mContrastParam = null;
     mAvatarBepuEntity = null;
     mCameraSmoothingEngaged = false;
     mAimingCameraOffset = new Vector3(5.0f, 3.0f, 5.0f);
     mInputProcs = new Dictionary<Type, InputProcessor>[(int)(InputMode.COUNT)];
     mInputProcs[(int)(InputMode.Aloof)] = new Dictionary<Type, InputProcessor>();
     mInputProcs[(int)(InputMode.Aiming)] = new Dictionary<Type, InputProcessor>();
     mCrosshairs = null;
     mInventoryPanel = null;
 }
예제 #2
0
 public ActionScreenHumanView(PlayerInfo playerInfo, CharacterInfo selectedCharacter, ContentManager contentLoader)
     : base(playerInfo, selectedCharacter, contentLoader)
 {
     mMmoCameraDesc                       = new MmoCameraDesc();
     mCamera                              = new StaticCamera();
     mShadowViewMode                      = false;
     mBright                              = 0.1f;
     mContrast                            = 1.0f;
     mBrightParam                         = null;
     mContrastParam                       = null;
     mAvatarBepuEntity                    = null;
     mCameraSmoothingEngaged              = false;
     mAimingCameraOffset                  = new Vector3(5.0f, 3.0f, 5.0f);
     mInputProcs                          = new Dictionary <Type, InputProcessor> [(int)(InputMode.COUNT)];
     mInputProcs[(int)(InputMode.Aloof)]  = new Dictionary <Type, InputProcessor>();
     mInputProcs[(int)(InputMode.Aiming)] = new Dictionary <Type, InputProcessor>();
     mCrosshairs                          = null;
     mInventoryPanel                      = null;
 }
예제 #3
0
 public CameraComponent(Actor owner)
     : base(owner)
 {
     mCamera = new StaticCamera();
 }
예제 #4
0
 public CameraComponent(Actor owner)
     : base(owner)
 {
     mCamera = new StaticCamera();
 }