|
void | RebuildHierarchy () |
| Call to traverse the entire hierarchy and rebuild the relationship between anchors. Call this whenever any of the following happens: More...
|
|
void | RecalculateTransformers () |
| Call to update all transformers in the space. Call this whenever any anchor or parent of an anchor changes it's transform. More...
|
|
abstract Hash | GetSettingHash () |
| Get a hash of all features in this space. This is useful if you want to know if anything has changed about the settings of this space. More...
|
|
void | RecalculateParentAnchor () |
|
Definition at line 17 of file LeapSpace.cs.
◆ ConstructTransformer()
◆ CosntructBaseTransformer()
abstract ITransformer Leap.Unity.Space.LeapSpace.CosntructBaseTransformer |
( |
| ) |
|
|
protectedpure virtual |
◆ GetSettingHash()
abstract Hash Leap.Unity.Space.LeapSpace.GetSettingHash |
( |
| ) |
|
|
pure virtual |
Get a hash of all features in this space. This is useful if you want to know if anything has changed about the settings of this space.
Implemented in Leap.Unity.Space.LeapRadialSpace.
◆ OnDisable()
override void Leap.Unity.Space.LeapSpace.OnDisable |
( |
| ) |
|
|
protectedvirtual |
◆ OnEnable()
override void Leap.Unity.Space.LeapSpace.OnEnable |
( |
| ) |
|
|
protectedvirtual |
◆ RebuildHierarchy()
void Leap.Unity.Space.LeapSpace.RebuildHierarchy |
( |
| ) |
|
Call to traverse the entire hierarchy and rebuild the relationship between anchors. Call this whenever any of the following happens:
- An anchor is created
- An anchor is enabled / disabled
- An enabled anchor is destroyed
- The relative position in the hierarchy of any two anchors changes.
Definition at line 71 of file LeapSpace.cs.
◆ RecalculateTransformers()
void Leap.Unity.Space.LeapSpace.RecalculateTransformers |
( |
| ) |
|
Call to update all transformers in the space. Call this whenever any anchor or parent of an anchor changes it's transform.
Definition at line 85 of file LeapSpace.cs.
◆ UpdateTransformer()
◆ allEnabled
List<LeapSpace> Leap.Unity.Space.LeapSpace.allEnabled |
|
staticget |
◆ anchors
Returns all active anchors in depth-first pre-order
Definition at line 57 of file LeapSpace.cs.
The documentation for this class was generated from the following file: