VisualRotate Method (Axis, Double) |
Namespace: Demo3D.Visuals
public void Rotate( Axis axis, double speed )
// This example will rotate a visual (sender) around its own Y axis when clicked, // at a speed of 360 degrees per second (1 revolution per second) [Auto("OnClick")] void RotateAD_OnClick(Visual sender, PickInfo pickInfo) { sender.Rotate(Axis.Y, 360); }