Click or drag to resize

Vector4Transform Method (Vector2, Matrix)

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

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

Parameters

value
Type: SampSharp.Entities.SAMPVector2
Source Vector2.
matrix
Type: SampSharp.Entities.SAMPMatrix
The transformation Matrix.

Return Value

Type: Vector4
Transformed Vector4.
See Also