Пример #1
0
        protected void OnModelChanged(ModelChangedEventArgs e)
        {
            EventHandler <ModelChangedEventArgs> handler = ModelChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #2
0
		private void OnRendererModelChanged(object sender, ModelChangedEventArgs e)
		{
			_model = e.Model;
			RecreateNormals();
		}
Пример #3
0
		protected void OnModelChanged(ModelChangedEventArgs e)
		{
			EventHandler<ModelChangedEventArgs> handler = ModelChanged;
			if (handler != null) handler(this, e);
		}
Пример #4
0
		private void OnRendererModelChanged(object sender, ModelChangedEventArgs e)
		{
			_model = e.Model;
			RecreateBoundingBox();
		}
Пример #5
0
 private void OnRendererModelChanged(object sender, ModelChangedEventArgs e)
 {
     _model = e.Model;
     RecreateBoundingBox();
 }
Пример #6
0
 private void OnRendererModelChanged(object sender, ModelChangedEventArgs e)
 {
     _model = e.Model;
     RecreateNormals();
 }