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