Share via


Vector3.Forward Property

Returns a unit Vector3 designating forward in a right-handed coordinate system(0, 0, −1).

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

Syntax

public static Vector3 Forward { get; }

Property Value

A unit Vector3 pointing forward.

Remarks

The XNA Framework uses a right-handed coordinate system, with the positive x-axis pointing to the right, the positive y-axis pointing up, and the positive z-axis pointing toward the observer.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone