編輯

共用方式為


CursorContextInfo Class

Definition

The cursor will display the context specified in this component if it is part of the targeted object

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

Constructors

CursorContextInfo()

Properties

CurrentCursorAction

Determines the context state when this object is targeted.

ObjectCenter

Used to calculate the orientation of context cursors.

Applies to