VRageMath
Ray
Assembly: VRage.Math.dll
public struct Ray: IEquatable<Ray>
Defines a ray.
Fields
| Member | Description |
|---|---|
| Direction | Unit vector specifying the direction the Ray is pointing. |
| Position | Specifies the starting point of the Ray. |
Constructors
| Member | Description |
|---|---|
| Ray(Vector3, Vector3) |
Methods
| Member | Description |
|---|---|
| Equals(Ray) | Determines whether the specified Ray is equal to the current Ray. |
| Equals(object) | Determines whether two instances of Ray are equal. |
| GetHashCode() | Gets the hash code for this instance. |
| Intersects(BoundingBox) | Checks whether the Ray intersects a specified BoundingBox. |
| Intersects(ref BoundingBox, out float?) | Checks whether the current Ray intersects a BoundingBox. |
| Intersects(BoundingFrustum) | Checks whether the Ray intersects a specified BoundingFrustum. |
| Intersects(Plane) | Determines whether this Ray intersects a specified Plane. |
| Intersects(ref Plane, out float?) | Determines whether this Ray intersects a specified Plane. |
| Intersects(BoundingSphere) | Checks whether the Ray intersects a specified BoundingSphere. |
| Intersects(ref BoundingSphere, out float?) | Checks whether the current Ray intersects a BoundingSphere. |
| ToString() | Returns a String that represents the current Ray. |
Implements: