VisualRotateToImmediate Method |
Rotate immediately around a given local axis to a given angle relative to the visual's initial position.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic void RotateToImmediate(
Axis axis,
double degrees
)
Parameters
- axis Axis
- The axis around which to move.
- degrees Double
- The angle to rotate in degrees.
Example
void RotateToImmediate_OnClick(Visual sender, PickInfo pickInfo)
{
sender.RotateToImmediate(Axis.Y, 50);
}
See Also