共用方式為


Vector3.Forward Property

Returns a unit Vector3 pointing forward (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.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista