Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

VRDevice.GetNativePtr

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.