Esempio n. 1
0
        protected CameraBase(Scene scene, ICameraConfig config)
            : base(scene)
        {
            _fieldOfView = config.FieldOfView;

            _nearPlaneDistance = config.NearPlaneDistance;
            _farPlaneDistance = config.FarPlaneDistance;

            _originalPosition = _position = config.Position;
            _originalForward = config.Forward;
            SetTarget(_originalForward);
            _originalUp = _up = config.Up;
        }
 public CameraManager(ICameraConfig cameraConfig, ITickManager tickManager)
 {
     _cameraConfig = cameraConfig;
     _tickManager  = tickManager;
 }
 public MainMenuCamera(Scene scene, ICameraConfig config)
     : base(scene, config)
 {
 }