Click or drag to resize
AB4D logo

DXViewportView Methods

The DXViewportView type exposes the following members.

Methods
 NameDescription
Public methodGetAllHitObjects 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.
Public methodGetClosestHitObject 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.
Public methodGetHitPosition GetHitPosition method returns hit 3D position or null when no object was hit by the specified 2D position.
Top
See Also