Click or drag to resize
AB4D logo

DXEventManager3D Methods

The DXEventManager3D type exposes the following members.

Methods
 NameDescription
Public methodRegisterEventSource3D Registers the eventSource to the EventManager3D
Public methodRegisterExcludedSceneNode Registers a SceneNode that will be excluded from hit testing - the ray from the mouse will "travel" through that SceneNode and will hit the objects behind.
Public methodRegisterExcludedVisual3D 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.
Public methodRemoveEventSource3D Removes the eventSource from the EventManager3D
Public methodRemoveExcludedSceneNode Remove the SceneNode from the list of excluded scene nodes. To remove all excluded SceneNode it is also possible to call ResetEventSources3D method.
Public methodRemoveExcludedVisual3D Removed the visual3D from the excluded visuals list. To remove all excluded visuals it is also possible to call ResetEventSources3D method.
Public methodResetEventSources3D Clears all the registered EventSource3D objects. This also removes all registered Visuals that are not hit visible.
Public methodUpdateHitObjects 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.
Top
See Also