SpherePointer.GrabLayerMasks Property

Definition

Caution

Use PrioritizedLayerMasksOverride instead

The LayerMasks, in prioritized order, that are used to determine the touchable objects.

C++
public:
 property cli::array <UnityEngine::LayerMask> ^ GrabLayerMasks { cli::array <UnityEngine::LayerMask> ^ get(); };

Property Value

UnityEngine.LayerMask[]
Attributes

Remarks

Only NearInteractionGrabbables in one of the LayerMasks will raise events. This really shouldn't be in the sphere pointer, since it should serve as an tool to query for data, rather than actively having a say in what it's querying against

Applies to

Produkt Verzie (Zastarané)
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 (2.8.0)
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 (2.8.0)