SoEventCallbackAddEventCallback Method |
Add an event delegate.
Namespace: OIV.Inventor.Nodes
Specifies the delegatesto be invoked for different event types. When invoked, the delegatewill be passed the userData, along with a referenceto this OIV.Inventor.Nodes.SoEventCallback node. For example, passing the type of OIV.Inventor.Events.SoMouseButtonEvent means callbacks will be invoked only when a mouse button is pressed or released. Passing the type of OIV.Inventor.Events.SoEvent for the eventType will cause the callback to be invoked for every event which passes through this event callback node.