PinnedTransformGesturedoRotation Method |
Calculates rotation.
Namespace:
TouchScript.Gestures.TransformGestures
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax protected override float doRotation(
Vector3 center,
Vector2 oldScreenPos,
Vector2 newScreenPos,
ProjectionParams projectionParams
)
Parameters
- center
- Type: Vector3
Center screen position. - oldScreenPos
- Type: Vector2
Pointer old screen position. - newScreenPos
- Type: Vector2
Pointer new screen position. - projectionParams
- Type: TouchScript.LayersProjectionParams
Layer projection parameters.
Return Value
Type:
Single Angle in degrees.
See Also