VisualTurnTo Method (Matrix, Double, Double, Double) |
Namespace: Demo3D.Visuals
public void TurnTo( Matrix targetMatrix, double speed, double acc, double dec )
// This example will turn a visual to 90 degrees around the Y axis, // using a given speed, acceleration and deceleration. void TurnToMDDD_OnClick(Visual sender, PickInfo pickInfo) { sender.TurnTo(Matrix.RotationY90, 20, 5, 5); }