コード例 #1
0
        public DrawableComponent(DX3DHost host, Visualization3DDataSource dataSource)
        {
            this.device     = host.Device;
            this.camera     = host.Camera;
            this.dataSource = dataSource;

            this.isEnabled = false;

            host.DeviceReset     += OnDeviceReset;
            host.DeviceLost      += OnDeviceLost;
            host.DeviceDestroyed += OnDeviceDestroyed;
        }
コード例 #2
0
        public DrawableComponent(DX3DHost host, Visualization3DDataSource dataSource)
        {
            this.device = host.Device;
            this.camera = host.Camera;
            this.dataSource = dataSource;

            this.isEnabled = false;

            host.DeviceReset += OnDeviceReset;
            host.DeviceLost += OnDeviceLost;
            host.DeviceDestroyed += OnDeviceDestroyed;
        }