Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VRDevice.GetNativePtr

Switch to Manual
public static IntPtr GetNativePtr();

Returns

IntPtr Native pointer to VR device if available, else 0.

Description

Native pointer to the VR device structure, if available.

This can be used to obtain more features for a given VR device.