How to set cameras target point

Sep 7, 2011 at 11:13 AM

Hi again,

Is it possible to set the cameras target point from code. I found target point property from HelixView3D.CameraController.CameraTarget but it's read only. So basically what I would like to achieve from code is the same as double right clicking the model.

Thanks for the help in advance.

Sep 7, 2011 at 8:24 PM

Do you want to change the camera position or the look direction? I think that was the reason I did not add a setter.We could add a setter that changes one of these properties. Also notice that the CameraTarget is a plain property, not a bindable dependency property.

Sep 12, 2011 at 9:08 AM
Edited Sep 12, 2011 at 9:08 AM

Thanks for the reply.

I achieved to do what I needed by changing camera position and look direction.