void PixelToBufferProcessor::handleInteractionEventsChanged() { if (handleInteractionEvents_.get()) { addInteractionHandler(this); } else { removeInteractionHandler(this); } }
void PointLightSourceProcessor::handleInteractionEventsChanged() { if (interactionEvents_.get() > 0) { addInteractionHandler(&lightInteractionHandler_); } else { removeInteractionHandler(&lightInteractionHandler_); } lightInteractionHandler_.setHandleEventsOptions(interactionEvents_.get()); }
PointLightSourceProcessor::~PointLightSourceProcessor() { removeInteractionHandler(&lightInteractionHandler_); }