When does Viewport3D.CameraController gets initialized?

Mar 11, 2013 at 10:04 PM

Thanks for your great toolkit.

Please explain a little bit when does CameraController get initialized? It seems to be null on Viewport3D creation and I need to set some properties to it when programmatically creating Viewport3d.

Best regards,
Apr 15, 2013 at 12:01 PM
For HelixViewport3D the CameraController is defined in the control template. You can get the reference after the OnApplyTemplate method has been called.
Can the DefaultCamera property help in your case?