VisualTurnTo Method (Axis, Double, Double, Double) |
Namespace: Demo3D.Visuals
public void TurnTo( Axis axis, double target, double speed, double acc )
// This example will turn a visual 40 degrees around the Y axis, // at a given speed and deceleration, and in the quickest direction. void TurnToADDD_OnClick(Visual sender, PickInfo pickInfo) { sender.TurnTo(Axis.Y, 40, 20, 5); }