Click or drag to resize
Ab4d.SharpEngine logo

Ray Methods

The Ray type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Ray) Determines whether the specified Vector4 is equal to this instance.
Public methodEquals(Ray) Determines whether the specified Vector4 is equal to this instance.
Public methodStatic memberFindClosestRay FindClosestRay is a static method that returns a Ray that goes from ray1 to ray2 and starts on the closest point between two rays. If closest cannot be found, the returned Ray has zero length (its IsValid property is false).
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodNormalizeDirection Normalizes the direction
Public methodRayIntersectsBox Determines whether there is an intersection between this ray and a BoundingBox.
Public methodToString Returns a String that represents this instance.
(Overrides ValueTypeToString)
Public methodToString(IFormatProvider) Returns a String that represents this instance.
Public methodToString(String) Returns a String that represents this instance.
Public methodToString(String, IFormatProvider) Returns a String that represents this instance.
Public methodTransform Transforms this ray with the specified matrix. The transformation is done with transforming the ray's position and its direction (direction is transformed without translation and then normalized).
Top
See Also