Event |
The EventManager3D type exposes the following members.
Name | Description | |
---|---|---|
CheckMouseOverElement | CheckMouseOverElement method sets protected lastHitEventSource3D and lastRayHitResult with the hit event source data. | |
RegisterEventSource3D | Registers the eventSource to the EventManager3D | |
RegisterExcludedVisual3D(Visual3D) | Registers a visual3D that will be excluded from hit testing - the ray from the mouse will "travel" through that Visual and will hit the objects behind. | |
RegisterExcludedVisual3D(Visual3D) | Registers a list of visual3D objects that will be excluded from hit testing - the ray from the mouse will "travel" through that Visual and will hit the objects behind. | |
RemoveEventSource3D | Removes the eventSource from the EventManager3D | |
RemoveExcludedVisual3D | Removed the visual3D from the excluded visuals list. To remove all excluded visuals it is also possible to call ResetEventSources3D method. | |
ResetEventSources3D | Clears all the registered EventSource3D objects. This also removes all registered Visuals that are not hit visible. | |
UpdateHitObjects | UpdateHitObjects method can be called to manually update the 3D objects that are behind the current mouse position. This is useful when the camera is changed without moving the mouse. In this case the 3D objects behind the mouse position can change. If this happens the MouseEnter, MouseLeave and other event handlers will be called from the UpdateHitObjects method. It is possible to specify the MouseEventArgs that is passed to triggered event handlers (if mouseEventArgs is not specified, then null is passed). |