Vector2.Reflect Method (Vector2, Vector2, Vector2)

Determines the reflect vector of the given vector and normal.

Syntax

'Declaration
Public Shared Sub Reflect ( _
         ref vector As Vector2, _
         ref normal As Vector2, _
         out result As Vector2 _
)
public static void Reflect (
         ref Vector2 vector,
         ref Vector2 normal,
         out Vector2 result
)
public:
static void Reflect(
         ref Vector2 vector,
         ref Vector2 normal,
         out Vector2 result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone