DXViewport | |
The DXViewportView type exposes the following members.
| Name | Description | |
|---|---|---|
| GetAllHitObjects | GetAllHitObjects method executes a hit testing on the SceneNodes in this DXScene and returns a list of DXRayHitTestResult objects sorted from the closest to the farthest object. When no object is hit, an empty list is returned. | |
| GetClosestHitObject | GetClosestHitObject method executes a hit testing on the SceneNodes in this DXScene and returns a DXRayHitTestResult object with the closest triangle hit by the specified ray. When no triangle is hit, null is returned. | |
| GetHitPosition | GetHitPosition method returns hit 3D position or null when no object was hit by the specified 2D position. |