RayHitTestParameters Class
TOC
Collapse the table of content
Expand the table of content

RayHitTestParameters Class

 

Specifies the parameters of a hit test along a ray.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.Windows.Media.Media3D.HitTestParameters3D
    System.Windows.Media.Media3D.RayHitTestParameters

public sealed class RayHitTestParameters : HitTestParameters3D

NameDescription
System_CAPS_pubmethodRayHitTestParameters(Point3D, Vector3D)

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

NameDescription
System_CAPS_pubpropertyDirection

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

System_CAPS_pubpropertyOrigin

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft