Class Leap::Anchor¶
- class Leap.Anchor : public MonoBehaviour¶
Public Members
- Action OnAnchorPreferred = () => { }¶
-
Called as soon as any anchorable objects prefer this anchor if they were to try to attach to an anchor.
- Action OnAnchorNotPreferred = () => { }¶
-
Called when no anchorable objects prefer this anchor any more.
- Action WhileAnchorPreferred = () => { }¶
-
Called every Update() that an AnchorableBehaviour prefers this anchor.
- Action OnAnchorablesAttached = () => { }¶
Called as soon as any anchorables become attached to this anchor.
Properties
- ChiralitySelection AttahedHandChirality { get; set; }¶
returns ChiralitySelection.NONE if no attachment hand found in parents
- HashSet<AnchorableBehaviour> anchoredObjects { get; set; }¶
Gets the set of AnchorableBehaviours currently attached to this anchor.