Controller::DeactivateController
Defined in:
Called when the trigger node that activated a controller is deactivated.
C4Controller.h
Prototype
virtual void DeactivateController(Node *initiator, Node *trigger);
Parameters
initiator |
The node that deactivated the trigger. This can be nullptr .
|
trigger |
A pointer to the node that caused the controller to be deactivated. This can be nullptr .
|
Description
The DeactivateController
function is called when a Trigger
node that previously activated the controller becomes deactivated. A controller subclass may perform whatever action is appropriate in response to the deactivation.The default implementation performs no action, so any override of the
DeactivateController
function does not need to call the base class counterpart.
See Also