-
Notifications
You must be signed in to change notification settings - Fork 124
VRageMath.Ray
← Index ← Namespace Index
public struct Ray: IEquatable<Ray>
Defines a ray.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Unit vector specifying the direction the Ray is pointing.
Specifies the starting point of the Ray.
Ray(Vector3 position, Vector3 direction)
Determines whether the specified Ray is equal to the current Ray.
Determines whether two instances of Ray are equal.
Gets the hash code for this instance.
float? Intersects(BoundingBox box)
Checks whether the Ray intersects a specified BoundingBox.
void Intersects(ref BoundingBox box, out float? result)
Checks whether the current Ray intersects a BoundingBox.
float? Intersects(BoundingFrustum frustum)
Checks whether the Ray intersects a specified BoundingFrustum.
float? Intersects(Plane plane)
Determines whether this Ray intersects a specified Plane.
void Intersects(ref Plane plane, out float? result)
Determines whether this Ray intersects a specified Plane.
float? Intersects(BoundingSphere sphere)
Checks whether the Ray intersects a specified BoundingSphere.
void Intersects(ref BoundingSphere sphere, out float? result)
Checks whether the current Ray intersects a BoundingSphere.
Returns a String that represents the current Ray.
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!