文档

Unity Engine

Unity Engine

GetNodeName(ulong)

Accepts the unique identifier for a tracked node and returns a friendly name for it.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
警告
Deprecated. This API is obsolete, and should no longer be used. Please use InputDevice.name with the device associated with that tracking data instead.
public static string GetNodeName(ulong uniqueId)

Parameters

uniqueId

Returns

Type

Description

stringThe name of the tracked node if the given 64-bit identifier maps to a currently tracked node. Empty string otherwise.