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
Vector3 Position Specifies the starting point of the Ray.
Vector3 Direction Unit vector specifying the direction the Ray is pointing.

Methods

Member Description
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<float>&nbsp;Intersects(BoundingBox&nbsp;box) Checks whether the Ray intersects a specified BoundingBox.
void&nbsp;Intersects(ref&nbsp;BoundingBox&nbsp;box,&nbsp;ref&nbsp;Nullable<float>&nbsp;result) Checks whether the current Ray intersects a BoundingBox.
Nullable<float>&nbsp;Intersects(BoundingFrustum&nbsp;frustum) Checks whether the Ray intersects a specified BoundingFrustum.
Nullable<float>&nbsp;Intersects(Plane&nbsp;plane) Determines whether this Ray intersects a specified Plane.
void&nbsp;Intersects(ref&nbsp;Plane&nbsp;plane,&nbsp;ref&nbsp;Nullable<float>&nbsp;result) Determines whether this Ray intersects a specified Plane.
Nullable<float>&nbsp;Intersects(BoundingSphere&nbsp;sphere) Checks whether the Ray intersects a specified BoundingSphere.
void&nbsp;Intersects(ref&nbsp;BoundingSphere&nbsp;sphere,&nbsp;ref&nbsp;Nullable<float>&nbsp;result) Checks whether the current Ray intersects a BoundingSphere.

Clone this wiki locally