Version: 2023.1
언어: 한국어

XRInputSubsystem

class in UnityEngine.XR

/

다음으로부터 상속:IntegratedSubsystem

매뉴얼로 전환

설명

XRInputSubsystem Instance is used to enable and disable the inputs coming from a specific plugin.

Starting up an XRInputSubsystem Instance will cause that plugin to start feeding input device data to the following InputTracking systems: XR.InputTracking.GetLocalPosition and XR.InputTracking.GetLocalRotation. Calling the Stop or Shutdown functions will disable polling any input device data for that plugin.

Public 함수

GetSupportedTrackingOriginModesGets all TrackingOriginModeFlags that this subsystem supports.
GetTrackingOriginModeGets the Tracking Origin Mode.
TryGetBoundaryPointsGets the list of 3D position values that represents the SDK-set boundary.
TryGetInputDevicesGets a list of all connected InputDevices reported by this XRInputSubsystem.
TryRecenterCenters the tracking features on all InputDevices to the current position and orientation of the head-mounted device.
TrySetTrackingOriginModeAttempts to set the TrackingOriginModeFlags of the subsystem.

Events

boundaryChangedAn event that takes the delegate instance that the XRInputSubsystem calls when it changes its tracking boundary.
trackingOriginUpdatedAn event that takes the delegate instance that the XRInputSubsystem calls when it changes the origin it reports devices at.

상속된 멤버

변수

runningWhether or not the subsystem is running.

Public 함수

DestroyDestroys this instance of a subsystem.
StartStarts an instance of a subsystem.
StopStops an instance of a subsystem.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961