The XRay type exposes the following members.

Constructors

  NameDescription
XRay
Creates new XRay structure instance with the point of origin and the ray direction vector.

Methods

  NameDescription
EqualsOverloaded.
Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)
GetHashCode
Gets the hash code for this instance.
(Overrides ValueType..::.GetHashCode()()().)
GetPoint
Calculates the coordinates in the distance distance from the ray origin in its direction.
GetProjection
Returns the point projection.
GetType

Gets the Type of the current instance.

(Inherited from Object.)
GetXDistance
Returns the distance in the X axis from the X coordinate of the ray origin to the x as the X axis direction vector size multiple.
GetYDistance
Returns the distance in the Y axis from the Y coordinate of the ray origin to the y as the Y axis direction vector size multiple.
GetZDistance
Returns the distance in the Z axis from the Z coordinate of the ray origin to the z as the Z axis direction vector size multiple.
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
ToString

Returns the fully qualified type name of this instance.

(Inherited from ValueType.)
TransformOverloaded.

Operators

  NameDescription
Equality
Tests whether the instance a and the instance b are equal.
Inequality
Tests whether the instance a and the instance b are not equal.

Properties

  NameDescription
Direction
Gets or sets the direction of the ray.
Origin
Gets or sets the origin of the ray.

See Also