VisualRotate(Axis, Double, Double) Method |
Set the visual rotating.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic void Rotate(
Axis axis,
double speed,
double acc
)
Parameters
- axis Axis
- The axis around which to rotate.
- speed Double
- The top speed to rotate at in degrees per second.
- acc Double
- The acceleration to be used in degrees per second per second.
Example
[Auto("OnClick")]
void RotateADD_OnClick(Visual sender, PickInfo pickInfo) {
sender.Rotate(Axis.Y, 360, 180);
}
See Also