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