VisualMoveTo Method (Vector3, Double, Double) |
Namespace: Demo3D.Visuals
public void MoveTo( Vector3 worldLocation, double speed, double acc )
// This example will move a visual a meter up when it is clicked on, // at a given speed and acceleration. [Auto("OnClick")] void MoveToV3DD_OnClick(Visual sender, PickInfo pickInfo) { sender.MoveTo(sender.WorldLocation + new Vector3(0, 1, 0), 2, 1); }