編集

次の方法で共有


NearInteractionGrabbable Class

Definition

Add a NearInteractionGrabbable component to any GameObject that has a collidable on it in order to make that collidable near grabbable.

Any IMixedRealityNearPointer will then dispatch pointer events to the closest near grabbable objects.

Additionally, the near pointer will send focus enter and exit events when the decorated object is the closest object to the near pointer

public ref class NearInteractionGrabbable : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionGrabbable")]
public class NearInteractionGrabbable : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionGrabbable")>]
type NearInteractionGrabbable = class
    inherit MonoBehaviour
Public Class NearInteractionGrabbable
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
NearInteractionGrabbable
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

NearInteractionGrabbable()

Fields

IsBoundsHandles
ShowTetherWhenManipulating

Applies to