VisualRotateToLocalZ Method |
Rotate around the local Z axis a given amount at a given speed.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic void RotateToLocalZ(
double localZDegrees,
double degreesPerSecond
)
Parameters
- localZDegrees Double
- The total angle to rotate in degrees.
- degreesPerSecond Double
- The speed at which to rotate in degrees per second.
Example
void RotateToLocalZ_OnClick(Visual sender, PickInfo pickInfo)
{
sender.RotateToLocalZ(90, 45);
}
See Also