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
Vector3 Direction

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

Clone this wiki locally