Bearbeiten

Freigeben über


CursorContextObjectManipulator Class

Definition

This script provides cursor context for the object manipulator. It will show an icon next to the cursor indicating the available action that can be performed. Currently this component only supports context for moving an object.

public ref class CursorContextObjectManipulator : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/CursorContextObjectManipulator")]
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.UI.ObjectManipulator))]
public class CursorContextObjectManipulator : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/CursorContextObjectManipulator")>]
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.UI.ObjectManipulator))>]
type CursorContextObjectManipulator = class
    inherit MonoBehaviour
Public Class CursorContextObjectManipulator
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
CursorContextObjectManipulator
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute

Constructors

CursorContextObjectManipulator()

Applies to