ImageGear23.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorRotation Class : Rotate Method |
'Declaration Public Sub Rotate( _ ByVal angle As Single, _ ByVal vectorX As Single, _ ByVal vectorY As Single, _ ByVal vectorZ As Single _ )
'Usage Dim instance As ImGearVectorRotation Dim angle As Single Dim vectorX As Single Dim vectorY As Single Dim vectorZ As Single instance.Rotate(angle, vectorX, vectorY, vectorZ)
viewport.GetViewportRotation().Rotate((float)(Math.PI / 4), 0, 0, 1);
viewport.GetViewportRotation().Rotate(Math.PI / 4, 0, 0, 1)