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