When does Viewport3D.CameraController gets initialized?

Mar 11, 2013 at 9:04 PM
Greetings,

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,
Mikhail
Coordinator
Apr 15, 2013 at 11:01 AM
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?