0

How to set camera in helixviewport3d

Anonymous 6 years ago 0
This discussion was imported from CodePlex

charismatubagus wrote at 2013-01-25 08:19:

I am newbie in helixtoolkit,

I wanna know how I can control Camera to view only R/L/U/D at the beginning. How can I do it in XAML?

 

Thanks


objo wrote at 2013-02-07 21:08:

The HelixViewport3D control has "Camera" and "DefaultCamera" properties.

See examples in
Source\Examples\ExampleBrowser\Examples\SurfacePlot\MainWindow.xaml
and
Source\Examples\ExampleBrowser\Examples\CameraControl\MainWindow.xaml

The DefaultCamera property sets the camera properties used when resetting the view.