VisualMoveTo Method (Matrix, Double, Double) |
Namespace: Demo3D.Visuals
public void MoveTo( Matrix targetMatrix, double speed, double acc )
// This example will move a visual to the origin and rotate it 45 degrees // about the Y axis, at a given speed and acceleration. [Auto("OnClick")] void MoveToMDD_OnClick(Visual sender, PickInfo pickInfo) { sender.MoveTo(Matrix.RotationYDegrees(45), 2, 1); }