📄️ Interactions in AniGraph
📄️ Interaction Modes
Sometimes you may want to use different sets of interactive controls to do different things at different times in your application. For example, maybe you want to switch between one mode of interaction where your mouse controls the camera in your scene, and another where it controls a cursor that you can use to click on different objects. AniGraph uses InteractionModes to support clean and efficient switching between such modes. An interaction mode object is essentially a collection of interactions that are intended to work together. Each controller object (namely, your scene controller) has a current interaction mode that you can access via controller.interactionMode.