Smoothly rotates the cube to a specified position.
Namespace:
C1.WPF.LegacyAssembly: C1.WPF.Legacy (in C1.WPF.Legacy.dll)
Syntax
C# |
---|
public void RotateTo( double rotationX, double rotationY, double rotationZ, double delay ) |
Visual Basic |
---|
Public Sub RotateTo ( _ rotationX As Double, _ rotationY As Double, _ rotationZ As Double, _ delay As Double _ ) |
Parameters
- rotationX
- Type: System..::..Double
The target rotation around the X axis.
- rotationY
- Type: System..::..Double
The target rotation around the Y axis.
- rotationZ
- Type: System..::..Double
The target rotation around the Z axis.
- delay
- Type: System..::..Double
The time in seconds that the animation will last.