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 void Reflect( Vector3 vector, Vector3 normal, out Vector3 result )
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.
- result
-
Type: out Microsoft.Xna.Framework.Vector3
Reflected vector as an output parameter.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web