Пример #1
0
        /// <summary>
        /// Constructs a new camera with no layers and a default white color.
        /// </summary>
        public PCamera()
            : base()
        {
            viewMatrix = new PMatrix();
            layers = new PLayerList();
            viewConstraint = CameraViewConstraint.None;

            Brush = new SolidBrush(Color.White);
        }
Пример #2
0
		/// <summary>
		/// Constructs a new camera with no layers and a default white color.
		/// </summary>
		public PCamera() : base() {
			viewMatrix = new PMatrix();
			layers = new PLayerList();
			viewConstraint = CameraViewConstraint.None;
		}