This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Ray
Malware edited this page Dec 21, 2018
·
49 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines a ray.
| [`Vector3 Position`](VRageMath.Position) | Specifies the starting point of the Ray. |
| [`Vector3 Direction`](VRageMath.Direction) | Unit vector specifying the direction the Ray is pointing. |
| [`bool Equals(Ray other)`](VRageMath.Equals) | Determines whether the specified Ray is equal to the current Ray. |
| [`bool Equals(Object obj)`](VRageMath.Equals) | Determines whether two instances of Ray are equal. |
| [`int GetHashCode()`](VRageMath.GetHashCode) | Gets the hash code for this instance. |
| [`string ToString()`](VRageMath.ToString) | Returns a String that represents the current Ray. |
| [`Nullable Intersects(BoundingBox box)`](VRageMath.Intersects) | Checks whether the Ray intersects a specified BoundingBox. |
| [`void Intersects(ref BoundingBox box, ref Nullable result)`](VRageMath.Intersects) | Checks whether the current Ray intersects a BoundingBox. |
| [`Nullable Intersects(BoundingFrustum frustum)`](VRageMath.Intersects) | Checks whether the Ray intersects a specified BoundingFrustum. |
| [`Nullable Intersects(Plane plane)`](VRageMath.Intersects) | Determines whether this Ray intersects a specified Plane. |
| [`void Intersects(ref Plane plane, ref Nullable result)`](VRageMath.Intersects) | Determines whether this Ray intersects a specified Plane. |
| [`Nullable Intersects(BoundingSphere sphere)`](VRageMath.Intersects) | Checks whether the Ray intersects a specified BoundingSphere. |
| [`void Intersects(ref BoundingSphere sphere, ref Nullable result)`](VRageMath.Intersects) | Checks whether the current Ray intersects a BoundingSphere. |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!