共用方式為


Ray.Direction Field

Unit vector specifying the direction the Ray is pointing.

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

Syntax

public Vector3 Direction

See Also

Reference

Ray Structure
Ray Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista