編集

次の方法で共有


SpherePointer.GrabLayerMasks Property

Definition

Caution

Use PrioritizedLayerMasksOverride instead

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

public:
 property cli::array <UnityEngine::LayerMask> ^ GrabLayerMasks { cli::array <UnityEngine::LayerMask> ^ get(); };
public UnityEngine.LayerMask[] GrabLayerMasks { get; }
[System.Obsolete("Use PrioritizedLayerMasksOverride instead")]
public UnityEngine.LayerMask[] GrabLayerMasks { get; }
member this.GrabLayerMasks : UnityEngine.LayerMask[]
[<System.Obsolete("Use PrioritizedLayerMasksOverride instead")>]
member this.GrabLayerMasks : UnityEngine.LayerMask[]
Public ReadOnly Property GrabLayerMasks As LayerMask()

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