Vector2.Reflect Method (Vector2, Vector2)
Determines the reflect vector of the given vector and normal.
Syntax
'Declaration
Public Shared Function Reflect ( _
vector As Vector2, _
normal As Vector2 _
) As Vector2
public static Vector2 Reflect (
Vector2 vector,
Vector2 normal
)
public:
static Vector2 Reflect(
Vector2 vector,
Vector2 normal
)
Parameters
Return Value
Type: Vector2
Resulting reflect vector.
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