Tanoda
IInternalInteractionController.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using System.Collections;
10using System.Collections.Generic;
11using UnityEngine;
12
13namespace Leap.Unity.Interaction {
14
16
18
19 bool CheckHoverEnd(out HashSet<IInteractionBehaviour> hoverEndedObjects);
20 bool CheckHoverBegin(out HashSet<IInteractionBehaviour> hoverBeganObjects);
21 bool CheckHoverStay(out HashSet<IInteractionBehaviour> hoveredObjects);
22
23 bool CheckPrimaryHoverEnd(out IInteractionBehaviour primaryHoverEndedObject);
24 bool CheckPrimaryHoverBegin(out IInteractionBehaviour primaryHoverBeganObject);
25 bool CheckPrimaryHoverStay(out IInteractionBehaviour primaryHoveredObject);
26
27 bool CheckContactEnd(out HashSet<IInteractionBehaviour> contactEndedObjects);
28 bool CheckContactBegin(out HashSet<IInteractionBehaviour> contactBeganObjects);
29 bool CheckContactStay(out HashSet<IInteractionBehaviour> contactedObjects);
30
31 bool CheckGraspEnd(out IInteractionBehaviour releasedObject);
32 bool CheckGraspBegin(out IInteractionBehaviour newlyGraspedObject);
33 bool CheckGraspHold(out IInteractionBehaviour graspedObject);
34
37
38 }
39
40}
IInteractionBehaviour is the interface that defines all Interaction objects, specifying the minimum s...
bool CheckPrimaryHoverBegin(out IInteractionBehaviour primaryHoverBeganObject)
bool CheckSuspensionEnd(out IInteractionBehaviour resumedObject)
bool CheckPrimaryHoverStay(out IInteractionBehaviour primaryHoveredObject)
bool CheckGraspEnd(out IInteractionBehaviour releasedObject)
bool CheckContactStay(out HashSet< IInteractionBehaviour > contactedObjects)
bool CheckPrimaryHoverEnd(out IInteractionBehaviour primaryHoverEndedObject)
bool CheckHoverStay(out HashSet< IInteractionBehaviour > hoveredObjects)
bool CheckGraspHold(out IInteractionBehaviour graspedObject)
bool CheckHoverEnd(out HashSet< IInteractionBehaviour > hoverEndedObjects)
bool CheckContactEnd(out HashSet< IInteractionBehaviour > contactEndedObjects)
bool CheckContactBegin(out HashSet< IInteractionBehaviour > contactBeganObjects)
bool CheckHoverBegin(out HashSet< IInteractionBehaviour > hoverBeganObjects)
bool CheckSuspensionBegin(out IInteractionBehaviour suspendedObject)
bool CheckGraspBegin(out IInteractionBehaviour newlyGraspedObject)