기술 자료

Unity Engine

Unity Engine

GetNativePtr()

This method returns an IntPtr representing the native pointer to the XR device if one is available, otherwise the value will be IntPtr.Zero.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
public static IntPtr GetNativePtr()

Returns

Type

Description

IntPtrThe native pointer to the XR device.

Remarks

This native pointer can be used along with other plugins or extensions to access additional details or functionality related to the XR device.