Click or drag to resize
AB4D logo

EventManager3DCheckMouseOverElement Method

CheckMouseOverElement method sets protected lastHitEventSource3D and lastRayHitResult with the hit event source data.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
protected virtual void CheckMouseOverElement(
	Point viewboxMousePosition,
	List<BaseEventSource3D> eventSources,
	List<Visual3D> excludedVisuals,
	bool checkOnlyDragSurfaces
)

Parameters

viewboxMousePosition  Point
position of the mouse in the Viewport3D
eventSources  ListBaseEventSource3D
list of all registered event sources
excludedVisuals  ListVisual3D
list of all excluded Visual3D objects
checkOnlyDragSurfaces  Boolean
when false then all 3D objects except those in excludedVisuals should be hit tested; when true only objects that are registered as drag surface should be checked.
See Also