Click or drag to resize
Vector2Transform Method (Vector2, Quaternion)
Creates a new Vector2 that contains a transformation of 2d-vector by the specified Quaternion, representing the rotation.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Vector2 Transform(
	Vector2 value,
	Quaternion rotation
)

Parameters

value
Type: SampSharp.GameModeVector2
Source Vector2.
rotation
Type: SampSharp.GameModeQuaternion
The Quaternion which contains rotation transformation.

Return Value

Type: Vector2
Transformed Vector2.
See Also