SCCoinHandler

Inherits From:
SCEventHandler : NSObject

Conforms To:
NSCoding

Declared In:
SCCoinHandler.h

Class Description

An SCCoinHandler takes incoming NSEvents, converts them to SoEvents, and sends them to the Coin scenegraph.

SCCoinHandler does not override the update: method (i.e. it inherits SCEventHandler's default implementation, which does nothing.)


Method Types

Event handling
- controller:handleEvent:

Instance Methods

controller:handleEvent:

- (BOOL)controller:(SCController *)controller handleEvent:(NSEvent *)event

Converts the NSEvent event to an SoEvent and sends it to the Coin scenegraph by calling the SoSceneManager's processEvent() method.

Returns YES if event has been handled, NO otherwise.


Sc21 version 1.0 © 2003-2004 Systems in Motion AS.