기술 자료

Unity Engine

Unity Engine

TryGetFeatureUsages(List<InputFeatureUsage>)

Gets a list of all the input feature usages available on this device. For example, "Trigger" or "Device Position".
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public bool TryGetFeatureUsages(List<InputFeatureUsage> featureUsages)

Parameters

A List of InputFeatureUsage structures to receive the available features on this device.

Returns

Type

Description

booltrue if device can be queried; otherwise false.