0

When does Viewport3D.CameraController gets initialized?

Anonymous 10 years ago 0
This discussion was imported from CodePlex

mplisov wrote at 2013-03-11 22:04:

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

objo wrote at 2013-04-15 13:01:

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?