Ray Structure (Microsoft.Xna.Framework)
- C#
- VB
- F#
[DataContractAttribute] [DebuggerDisplayAttribute("{DebugDisplayString,nq}")] [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = -1, Size = -1)] public struct Ray : IEquatable<Ray>
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The Ray type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
Deconstruct | Deconstruction method for Ray. | ||
Equals(object) | (Overrides ValueType.Equals().) | ||
Equals(Ray) | (Implements IEquatable<T>.Equals().) | ||
GetHashCode | (Overrides ValueType.GetHashCode().) | ||
Intersects(BoundingBox) | |||
Intersects(BoundingBox, out Nullable`1) | |||
Intersects(BoundingSphere) | |||
Intersects(Plane) | |||
Intersects(Plane, out Nullable`1) | |||
Intersects(BoundingSphere, out Nullable`1) | |||
ToString | (Overrides ValueType.ToString().) |
Platforms | Name | Description | |
---|---|---|---|
Inequality | |||
Equality |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web