Exemple #1
0
        protected override void OnCurrentCameraChanged(CamView.CameraChangedEventArgs e)
        {
            base.OnCurrentCameraChanged(e);

            if (e.PreviousCamera != null)
            {
                e.PreviousCamera.RemoveEditorRendererFilter(this.RendererFilter);
            }
            if (e.NextCamera != null)
            {
                e.NextCamera.AddEditorRendererFilter(this.RendererFilter);
            }
        }
Exemple #2
0
 protected virtual void OnCurrentCameraChanged(CamView.CameraChangedEventArgs e)
 {
 }
Exemple #3
0
 private void View_CurrentCameraChanged(object sender, CamView.CameraChangedEventArgs e)
 {
     this.OnCurrentCameraChanged(e);
 }