Share via


Ray Structure

Defines a ray.

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

Syntax

[TypeConverterAttribute("typeof(Microsoft.Xna.Framework.Design.RayConverter)")]
[SerializableAttribute()]
public struct Ray : IEquatable<Ray>

See Also

Reference

Ray Members
Microsoft.Xna.Framework Namespace

Programming Guide

Math Overview
How to: Detect Whether a User Clicked a 3D Object

Platforms

Xbox 360, Windows XP SP2, Windows Vista