RayHitTestParameters Class

Definition

Specifies the parameters of a hit test along a ray.

public ref class RayHitTestParameters sealed : System::Windows::Media::Media3D::HitTestParameters3D
public sealed class RayHitTestParameters : System.Windows.Media.Media3D.HitTestParameters3D
type RayHitTestParameters = class
    inherit HitTestParameters3D
Public NotInheritable Class RayHitTestParameters
Inherits HitTestParameters3D
Inheritance
RayHitTestParameters

Remarks

Note that the visual layer supports hit testing against all objects under a point or geometry, not just the topmost object. A 2D hit test will also return 3D results directly under the specified point or geometry.

Constructors

RayHitTestParameters(Point3D, Vector3D)

Creates an instance of the object that specifies the origin and direction of the ray along which to hit test.

Properties

Direction

Gets or sets a Vector3D that indicates the direction (from its origin) of the ray along which to hit test.

Origin

Gets the origin of the ray along which to hit test.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also