Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Vector2.Reflect Method (Vector2, Vector2, Vector2)

Determines the reflect vector of the given vector and normal.

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

public static void Reflect (
         ref Vector2 vector,
         ref Vector2 normal,
         out Vector2 result
)

Parameters

vector
Source vector.
normal
Normal of vector.
result
[OutAttribute] The created reflect vector.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft