Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Ray

Malware edited this page Dec 21, 2018 · 49 revisions

Index

Ray Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Summary

Defines a ray.

Fields

_Vector3 Position_ Specifies the starting point of the Ray.
_Vector3 Direction_ Unit vector specifying the direction the Ray is pointing.
### Methods
_bool Equals(Ray other)_ Determines whether the specified Ray is equal to the current Ray.
_bool Equals(Object obj)_ Determines whether two instances of Ray are equal.
_int GetHashCode()_ Gets the hash code for this instance.
_string ToString()_ Returns a String that represents the current Ray.
_Nullable Intersects(BoundingBox box)_ Checks whether the Ray intersects a specified BoundingBox.
_void Intersects(ref BoundingBox box, ref Nullable result)_ Checks whether the current Ray intersects a BoundingBox.
_Nullable Intersects(BoundingFrustum frustum)_ Checks whether the Ray intersects a specified BoundingFrustum.
_Nullable Intersects(Plane plane)_ Determines whether this Ray intersects a specified Plane.
_void Intersects(ref Plane plane, ref Nullable result)_ Determines whether this Ray intersects a specified Plane.
_Nullable Intersects(BoundingSphere sphere)_ Checks whether the Ray intersects a specified BoundingSphere.
_void Intersects(ref BoundingSphere sphere, ref Nullable result)_ Checks whether the current Ray intersects a BoundingSphere.

Clone this wiki locally