Node::SetController
Defined in:
Sets a node's controller.
C4Node.h
Prototype
void SetController(Controller *controller);
Parameters
controller |
A pointer to the controller. This can be nullptr .
|
Description
The SetController
function assigns a controller to a node. If the node already has a different controller assigned to it, then that controller is removed and becomes unassigned, but it is not destroyed.
See Also