Click or drag to resize

Vector2Reflect Method

Creates a new Vector2 that contains reflect vector of the given vector and normal.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Vector2 Reflect(
	Vector2 vector,
	Vector2 normal
)

Parameters

vector
Type: SampSharp.Entities.SAMPVector2
Source Vector2.
normal
Type: SampSharp.Entities.SAMPVector2
Reflection normal.

Return Value

Type: Vector2
Reflected vector.
See Also