Click or drag to resize

Vector2Transform Method (Vector2, Matrix)

Creates a new Vector2 that contains a transformation of 2d-vector by the specified Matrix.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Vector2 Transform(
	Vector2 position,
	Matrix matrix
)

Parameters

position
Type: SampSharp.GameModeVector2
Source Vector2.
matrix
Type: SampSharp.GameModeMatrix
The transformation Matrix.

Return Value

Type: Vector2
Transformed Vector2.
See Also