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

Member Description
Position Specifies the starting point of the Ray.
Direction Unit vector specifying the direction the Ray is pointing.

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.
ToString() Returns a String that represents the current Ray.
Intersects(BoundingBox) Checks whether the Ray intersects a specified BoundingBox.
Intersects(ref BoundingBox, ref Nullable<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, ref Nullable<float>) Determines whether this Ray intersects a specified Plane.
Intersects(BoundingSphere) Checks whether the Ray intersects a specified BoundingSphere.
Intersects(ref BoundingSphere, ref Nullable<float>) Checks whether the current Ray intersects a BoundingSphere.

Clone this wiki locally