RayHitTestParameters(Point3D, Vector3D) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of the object that specifies the origin and direction of the ray along which to hit test.
public:
RayHitTestParameters(System::Windows::Media::Media3D::Point3D origin, System::Windows::Media::Media3D::Vector3D direction);
public RayHitTestParameters (System.Windows.Media.Media3D.Point3D origin, System.Windows.Media.Media3D.Vector3D direction);
new System.Windows.Media.Media3D.RayHitTestParameters : System.Windows.Media.Media3D.Point3D * System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.RayHitTestParameters
Public Sub New (origin As Point3D, direction As Vector3D)
Parameters
- origin
- Point3D
Point3D at which the ray originates.
- direction
- Vector3D
Vector3D that indicates the direction of the ray.
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.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기