public override bool FrameRenderingQueued( FrameEventArgs evt )
{
this.TrayManager.FrameRenderingQueued( evt );
if ( !this.TrayManager.IsDialogVisible )
{
this.CameraManager.frameRenderingQueued( evt ); // if dialog isn't up, then update the camera
if ( this.DetailsPanel.IsVisible ) // if details panel is visible, then update its contents
{
this.DetailsPanel.SetParamValue( 0, this.Camera.DerivedPosition.x.ToString() );
this.DetailsPanel.SetParamValue( 1, this.Camera.DerivedPosition.y.ToString() );
this.DetailsPanel.SetParamValue( 2, this.Camera.DerivedPosition.z.ToString() );
this.DetailsPanel.SetParamValue( 4, this.Camera.DerivedOrientation.w.ToString() );
this.DetailsPanel.SetParamValue( 5, this.Camera.DerivedOrientation.x.ToString() );
this.DetailsPanel.SetParamValue( 6, this.Camera.DerivedOrientation.y.ToString() );
this.DetailsPanel.SetParamValue( 7, this.Camera.DerivedOrientation.z.ToString() );
}
}
return false;
}