Definition at line 19 of file Anchor.cs.
◆ EventType
Enumerator |
---|
OnAnchorPreferred | |
OnAnchorNotPreferred | |
WhileAnchorPreferred | |
OnAnchorablesAttached | |
OnNoAnchorablesAttached | |
WhileAnchorablesAttached | |
Definition at line 211 of file Anchor.cs.
◆ NotifyAnchorPreference()
◆ NotifyAttached()
◆ NotifyDetached()
◆ NotifyEndAnchorPreference()
◆ allowMultipleObjects
bool Leap.Unity.Interaction.Anchor.allowMultipleObjects = false |
◆ AnchorGizmoColor
Color Leap.Unity.Interaction.Anchor.AnchorGizmoColor = new Color(0.6F, 0.2F, 0.8F) |
|
static |
◆ matchActiveStateWithAttachedObjects
bool Leap.Unity.Interaction.Anchor.matchActiveStateWithAttachedObjects = false |
◆ OnAnchorablesAttached
Action Leap.Unity.Interaction.Anchor.OnAnchorablesAttached = () => { } |
Called as soon as any anchorables become attached to this anchor.
Definition at line 77 of file Anchor.cs.
◆ OnAnchorNotPreferred
Action Leap.Unity.Interaction.Anchor.OnAnchorNotPreferred = () => { } |
Called when no anchorable objects prefer this anchor any more.
Definition at line 67 of file Anchor.cs.
◆ OnAnchorPreferred
Action Leap.Unity.Interaction.Anchor.OnAnchorPreferred = () => { } |
Called as soon as any anchorable objects prefer this anchor if they were to try to attach to an anchor.
Definition at line 62 of file Anchor.cs.
◆ OnNoAnchorablesAttached
Action Leap.Unity.Interaction.Anchor.OnNoAnchorablesAttached = () => { } |
Called when there are no anchorables attached to this anchor.
Definition at line 82 of file Anchor.cs.
◆ WhileAnchorablesAttached
Action Leap.Unity.Interaction.Anchor.WhileAnchorablesAttached = () => { } |
Called every Update() that one or more AnchorableBehaviours is attached to this anchor.
Definition at line 87 of file Anchor.cs.
◆ WhileAnchorPreferred
Action Leap.Unity.Interaction.Anchor.WhileAnchorPreferred = () => { } |
◆ allAnchors
HashSet<Anchor> Leap.Unity.Interaction.Anchor.allAnchors |
|
staticget |
◆ anchoredObjects
Gets the set of AnchorableBehaviours currently attached to this anchor.
Definition at line 50 of file Anchor.cs.
◆ groups
HashSet<AnchorGroup> Leap.Unity.Interaction.Anchor.groups |
|
get |
◆ hasAnchoredObjects
bool Leap.Unity.Interaction.Anchor.hasAnchoredObjects |
|
get |
◆ isPreferred
bool Leap.Unity.Interaction.Anchor.isPreferred |
|
get |
The documentation for this class was generated from the following file: