Vector2.Reflect Method (Vector2, Vector2)

Determines the reflect vector of the given vector and normal.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public static Vector2 Reflect(
	Vector2 vector,
	Vector2 normal
)

Parameters

vector
Type: Microsoft.Xna.Framework.Vector2
Source vector.
normal
Type: Microsoft.Xna.Framework.Vector2
Normal of vector.

Return Value

Type: Microsoft.Xna.Framework.Vector2
Resulting reflect vector.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: