Vector2.Reflect Method (Microsoft.Xna.Framework)
Creates a new Vector2 that contains reflect vector of the given vector and normal.
- C#
- VB
- F#
public static Vector2 Reflect( Vector2 vector, Vector2 normal )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- vector
-
Type: Microsoft.Xna.Framework.Vector2
Source Vector2.
- normal
-
Type: Microsoft.Xna.Framework.Vector2
Reflection normal.
Return Value
Type: Microsoft.Xna.Framework.Vector2Reflected vector.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web