Пример #1
0
        public Canvas(Control target)
        {
            _Target_        = target;
            _CanvasOptions_ = new CanvasOptions();

            _Device_ = null;
        }
Пример #2
0
 public void InitializeCanvasOptions(CanvasOptions options)
 {
     options.Windowed = true;
     options.Shader = ShadeMode.Gouraud;
     options.Device = DeviceType.Hardware;
     options.BackgroundColor = Color.Black;
     options.AmbientColor = Color.White;
     options.BackfaceCulling = Cull.None;
 }
Пример #3
0
 public Canvas(Control target)
 {
     _Target_ = target;
     _CanvasOptions_ = new CanvasOptions();
     
     _Device_ = null;
 }
Пример #4
0
 public Canvas()
 {
     _Target_        = null;
     _CanvasOptions_ = new CanvasOptions();
 }
Пример #5
0
 public Canvas()
 {
     _Target_ = null;
     _CanvasOptions_ = new CanvasOptions();
 }