UnityEngine.VRModule.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <doc>
  3. <members>
  4. <assembly>
  5. <name>UnityEngine.VRModule</name>
  6. </assembly>
  7. <member name="A:UnityEngine.VRModule">
  8. <summary>
  9. <para>The VR module implements support for virtual reality devices in Unity.</para>
  10. </summary>
  11. </member>
  12. <member name="T:UnityEngine.XR.GameViewRenderMode">
  13. <summary>
  14. <para>Enumeration of available modes for XR rendering in the Game view or in the main window on a host PC. XR rendering only occurs when the Unity Editor is in Play Mode.</para>
  15. </summary>
  16. </member>
  17. <member name="F:UnityEngine.XR.GameViewRenderMode.BothEyes">
  18. <summary>
  19. <para>Renders both eyes of the XR device side-by-side in the Game view or in the main window on a host PC.</para>
  20. </summary>
  21. </member>
  22. <member name="F:UnityEngine.XR.GameViewRenderMode.LeftEye">
  23. <summary>
  24. <para>Renders the left eye of the XR device in the Game View window or in main window on a host PC.</para>
  25. </summary>
  26. </member>
  27. <member name="F:UnityEngine.XR.GameViewRenderMode.OcclusionMesh">
  28. <summary>
  29. <para>Renders both eyes of the XR device, and the occlusion mesh, side-by-side in the Game view or in the main window on a host PC.</para>
  30. </summary>
  31. </member>
  32. <member name="F:UnityEngine.XR.GameViewRenderMode.RightEye">
  33. <summary>
  34. <para>Renders the right eye of the XR device in the Game View window or in main window on a host PC.</para>
  35. </summary>
  36. </member>
  37. <member name="T:UnityEngine.XR.TrackingSpaceType">
  38. <summary>
  39. <para>Represents the size of physical space available for XR.</para>
  40. </summary>
  41. </member>
  42. <member name="F:UnityEngine.XR.TrackingSpaceType.RoomScale">
  43. <summary>
  44. <para>Represents a space large enough for free movement.</para>
  45. </summary>
  46. </member>
  47. <member name="F:UnityEngine.XR.TrackingSpaceType.Stationary">
  48. <summary>
  49. <para>Represents a small space where movement may be constrained or positional tracking is unavailable.</para>
  50. </summary>
  51. </member>
  52. <member name="T:UnityEngine.XR.UserPresenceState">
  53. <summary>
  54. <para>Represents the current user presence state detected by the device.</para>
  55. </summary>
  56. </member>
  57. <member name="F:UnityEngine.XR.UserPresenceState.NotPresent">
  58. <summary>
  59. <para>The device does not detect that the user is present.</para>
  60. </summary>
  61. </member>
  62. <member name="F:UnityEngine.XR.UserPresenceState.Present">
  63. <summary>
  64. <para>The device detects that the user is present.</para>
  65. </summary>
  66. </member>
  67. <member name="F:UnityEngine.XR.UserPresenceState.Unknown">
  68. <summary>
  69. <para>The device is currently in a state where it cannot determine user presence.</para>
  70. </summary>
  71. </member>
  72. <member name="F:UnityEngine.XR.UserPresenceState.Unsupported">
  73. <summary>
  74. <para>The device does not support detecting user presence.</para>
  75. </summary>
  76. </member>
  77. <member name="T:UnityEngine.XR.WSA.HolographicRemoting">
  78. <summary>
  79. <para>he Holographic Remoting interface allows you to connect an application to a remote holographic device, and stream data between the application and that device.</para>
  80. </summary>
  81. </member>
  82. <member name="P:UnityEngine.XR.WSA.HolographicRemoting.ConnectionState">
  83. <summary>
  84. <para>Whether the app is displaying protected content.</para>
  85. </summary>
  86. </member>
  87. <member name="T:UnityEngine.XR.WSA.HolographicSettings">
  88. <summary>
  89. <para>The Holographic Settings contain functions which effect the performance and presentation of Holograms on Windows Holographic platforms.</para>
  90. </summary>
  91. </member>
  92. <member name="M:UnityEngine.XR.WSA.HolographicSettings.ActivateLatentFramePresentation(System.Boolean)">
  93. <summary>
  94. <para>Option to allow developers to achieve higher framerate at the cost of high latency. By default this option is off.</para>
  95. </summary>
  96. <param name="activated">True to enable or false to disable Low Latent Frame Presentation.</param>
  97. </member>
  98. <member name="T:UnityEngine.XR.WSA.HolographicSettings.HolographicReprojectionMode">
  99. <summary>
  100. <para>Represents the kind of reprojection an app is requesting to stabilize its holographic rendering relative to the user's head motion.</para>
  101. </summary>
  102. </member>
  103. <member name="F:UnityEngine.XR.WSA.HolographicSettings.HolographicReprojectionMode.Disabled">
  104. <summary>
  105. <para>The image should not be stabilized for the user's head motion, instead remaining fixed in the display. This is generally discouraged, as it is only comfortable for users when used sparingly, such as when the only visible content is a small cursor.</para>
  106. </summary>
  107. </member>
  108. <member name="F:UnityEngine.XR.WSA.HolographicSettings.HolographicReprojectionMode.OrientationOnly">
  109. <summary>
  110. <para>The image should be stabilized only for changes to the user's head orientation, ignoring positional changes. This is best for body-locked content that should tag along with the user as they walk around, such as 360-degree video.</para>
  111. </summary>
  112. </member>
  113. <member name="F:UnityEngine.XR.WSA.HolographicSettings.HolographicReprojectionMode.PositionAndOrientation">
  114. <summary>
  115. <para>The image should be stabilized for changes to both the user's head position and orientation. This is best for world-locked content that should remain physically stationary as the user walks around.</para>
  116. </summary>
  117. </member>
  118. <member name="P:UnityEngine.XR.WSA.HolographicSettings.IsContentProtectionEnabled">
  119. <summary>
  120. <para>Whether the app is displaying protected content.</para>
  121. </summary>
  122. </member>
  123. <member name="P:UnityEngine.XR.WSA.HolographicSettings.IsDisplayOpaque">
  124. <summary>
  125. <para>This method returns whether or not the display associated with the main camera reports as opaque.</para>
  126. </summary>
  127. </member>
  128. <member name="P:UnityEngine.XR.WSA.HolographicSettings.IsLatentFramePresentation">
  129. <summary>
  130. <para>Returns true if Holographic rendering is currently running with Latent Frame Presentation. Default value is false.</para>
  131. </summary>
  132. </member>
  133. <member name="P:UnityEngine.XR.WSA.HolographicSettings.ReprojectionMode">
  134. <summary>
  135. <para>The kind of reprojection the app is requesting to stabilize its holographic rendering relative to the user's head motion.</para>
  136. </summary>
  137. </member>
  138. <member name="M:UnityEngine.XR.WSA.HolographicSettings.SetFocusPointForFrame(UnityEngine.Vector3)">
  139. <summary>
  140. <para>Sets a point in 3d space that is the focal point of the scene for the user for this frame. This helps improve the visual fidelity of content around this point. This must be set every frame.</para>
  141. </summary>
  142. <param name="position">The position of the focal point in the scene, relative to the camera.</param>
  143. <param name="normal">Surface normal of the plane being viewed at the focal point.</param>
  144. <param name="velocity">A vector that describes how the focus point is moving in the scene at this point in time. This allows the HoloLens to compensate for both your head movement and the movement of the object in the scene.</param>
  145. </member>
  146. <member name="M:UnityEngine.XR.WSA.HolographicSettings.SetFocusPointForFrame(UnityEngine.Vector3,UnityEngine.Vector3)">
  147. <summary>
  148. <para>Sets a point in 3d space that is the focal point of the scene for the user for this frame. This helps improve the visual fidelity of content around this point. This must be set every frame.</para>
  149. </summary>
  150. <param name="position">The position of the focal point in the scene, relative to the camera.</param>
  151. <param name="normal">Surface normal of the plane being viewed at the focal point.</param>
  152. <param name="velocity">A vector that describes how the focus point is moving in the scene at this point in time. This allows the HoloLens to compensate for both your head movement and the movement of the object in the scene.</param>
  153. </member>
  154. <member name="M:UnityEngine.XR.WSA.HolographicSettings.SetFocusPointForFrame(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)">
  155. <summary>
  156. <para>Sets a point in 3d space that is the focal point of the scene for the user for this frame. This helps improve the visual fidelity of content around this point. This must be set every frame.</para>
  157. </summary>
  158. <param name="position">The position of the focal point in the scene, relative to the camera.</param>
  159. <param name="normal">Surface normal of the plane being viewed at the focal point.</param>
  160. <param name="velocity">A vector that describes how the focus point is moving in the scene at this point in time. This allows the HoloLens to compensate for both your head movement and the movement of the object in the scene.</param>
  161. </member>
  162. <member name="T:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason">
  163. <summary>
  164. <para>Enum indicating the reason why connection to remote device has failed.</para>
  165. </summary>
  166. </member>
  167. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason.ConnectionLost">
  168. <summary>
  169. <para>Enum indicating the reason why remote connection failed.</para>
  170. </summary>
  171. </member>
  172. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason.HandshakeFailed">
  173. <summary>
  174. <para>Handskahe failed while traying to establish connection with remote device.</para>
  175. </summary>
  176. </member>
  177. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason.None">
  178. <summary>
  179. <para>No failure.</para>
  180. </summary>
  181. </member>
  182. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason.ProtocolVersionMismatch">
  183. <summary>
  184. <para>Protocol used by the app does not match remoting app running on remote device.</para>
  185. </summary>
  186. </member>
  187. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason.Unknown">
  188. <summary>
  189. <para>Couldn't identify the reason why connection failed.</para>
  190. </summary>
  191. </member>
  192. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionFailureReason.Unreachable">
  193. <summary>
  194. <para>Remove device is not reachable.</para>
  195. </summary>
  196. </member>
  197. <member name="T:UnityEngine.XR.WSA.HolographicStreamerConnectionState">
  198. <summary>
  199. <para>Current state of the holographis streamer remote connection.</para>
  200. </summary>
  201. </member>
  202. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionState.Connected">
  203. <summary>
  204. <para>Indicates app being connected to remote device.</para>
  205. </summary>
  206. </member>
  207. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionState.Connecting">
  208. <summary>
  209. <para>Indicates app trying to connect to remote device.</para>
  210. </summary>
  211. </member>
  212. <member name="F:UnityEngine.XR.WSA.HolographicStreamerConnectionState.Disconnected">
  213. <summary>
  214. <para>Indicates app being currently disconnected from any other remote device.</para>
  215. </summary>
  216. </member>
  217. <member name="T:UnityEngine.XR.XRDevice">
  218. <summary>
  219. <para>Contains all functionality related to a XR device.</para>
  220. </summary>
  221. </member>
  222. <member name="P:UnityEngine.XR.XRDevice.family">
  223. <summary>
  224. <para>The name of the family of the loaded XR device.</para>
  225. </summary>
  226. </member>
  227. <member name="P:UnityEngine.XR.XRDevice.fovZoomFactor">
  228. <summary>
  229. <para>Zooms the XR projection.</para>
  230. </summary>
  231. </member>
  232. <member name="P:UnityEngine.XR.XRDevice.isPresent">
  233. <summary>
  234. <para>Successfully detected a XR device in working order.</para>
  235. </summary>
  236. </member>
  237. <member name="P:UnityEngine.XR.XRDevice.model">
  238. <summary>
  239. <para>Specific model of loaded XR device.</para>
  240. </summary>
  241. </member>
  242. <member name="P:UnityEngine.XR.XRDevice.refreshRate">
  243. <summary>
  244. <para>Refresh rate of the display in Hertz.</para>
  245. </summary>
  246. </member>
  247. <member name="P:UnityEngine.XR.XRDevice.userPresence">
  248. <summary>
  249. <para>Indicates whether the user is present and interacting with the device.</para>
  250. </summary>
  251. </member>
  252. <member name="M:UnityEngine.XR.XRDevice.DisableAutoXRCameraTracking">
  253. <summary>
  254. <para>Sets whether the camera passed in the first parameter is controlled implicitly by the XR Device</para>
  255. </summary>
  256. <param name="Camera">The camera that we wish to change behavior on</param>
  257. <param name="Disabled">True if the camera's transform is set externally. False if the camera is to be driven implicitly by XRDevice, </param>
  258. <returns>
  259. <para>Nothing.</para>
  260. </returns>
  261. </member>
  262. <member name="M:UnityEngine.XR.XRDevice.GetNativePtr">
  263. <summary>
  264. <para>This method returns an IntPtr representing the native pointer to the XR device if one is available, otherwise the value will be IntPtr.Zero.</para>
  265. </summary>
  266. <returns>
  267. <para>The native pointer to the XR device.</para>
  268. </returns>
  269. </member>
  270. <member name="M:UnityEngine.XR.XRDevice.GetTrackingSpaceType">
  271. <summary>
  272. <para>Returns the device's current TrackingSpaceType. This value determines how the camera is positioned relative to its starting position. For more, see the section "Understanding the camera" in.</para>
  273. </summary>
  274. <returns>
  275. <para>The device's current TrackingSpaceType.</para>
  276. </returns>
  277. </member>
  278. <member name="M:UnityEngine.XR.XRDevice.SetTrackingSpaceType(UnityEngine.XR.TrackingSpaceType)">
  279. <summary>
  280. <para>Sets the device's current TrackingSpaceType. Returns true on success. Returns false if the given TrackingSpaceType is not supported or the device fails to switch.</para>
  281. </summary>
  282. <param name="TrackingSpaceType">The TrackingSpaceType the device should switch to.</param>
  283. <param name="trackingSpaceType"></param>
  284. <returns>
  285. <para>True on success. False if the given TrackingSpaceType is not supported or the device fails to switch.</para>
  286. </returns>
  287. </member>
  288. <member name="T:UnityEngine.XR.XRSettings">
  289. <summary>
  290. <para>Global XR related settings.</para>
  291. </summary>
  292. </member>
  293. <member name="P:UnityEngine.XR.XRSettings.enabled">
  294. <summary>
  295. <para>Globally enables or disables XR for the application.</para>
  296. </summary>
  297. </member>
  298. <member name="P:UnityEngine.XR.XRSettings.eyeTextureDesc">
  299. <summary>
  300. <para>Fetch the eye texture RenderTextureDescriptor from the active stereo device.</para>
  301. </summary>
  302. </member>
  303. <member name="P:UnityEngine.XR.XRSettings.eyeTextureHeight">
  304. <summary>
  305. <para>The current height of an eye texture for the loaded device.</para>
  306. </summary>
  307. </member>
  308. <member name="P:UnityEngine.XR.XRSettings.eyeTextureResolutionScale">
  309. <summary>
  310. <para>Controls the actual size of eye textures as a multiplier of the device's default resolution.</para>
  311. </summary>
  312. </member>
  313. <member name="P:UnityEngine.XR.XRSettings.eyeTextureWidth">
  314. <summary>
  315. <para>The current width of an eye texture for the loaded device.</para>
  316. </summary>
  317. </member>
  318. <member name="P:UnityEngine.XR.XRSettings.gameViewRenderMode">
  319. <summary>
  320. <para>Sets the render mode for the XR device. The render mode controls how the view of the XR device renders in the Game view and in the main window on a host PC.</para>
  321. </summary>
  322. </member>
  323. <member name="P:UnityEngine.XR.XRSettings.isDeviceActive">
  324. <summary>
  325. <para>Read-only value that can be used to determine if the XR device is active.</para>
  326. </summary>
  327. </member>
  328. <member name="P:UnityEngine.XR.XRSettings.loadedDeviceName">
  329. <summary>
  330. <para>Type of XR device that is currently loaded.</para>
  331. </summary>
  332. </member>
  333. <member name="P:UnityEngine.XR.XRSettings.occlusionMaskScale">
  334. <summary>
  335. <para>A scale applied to the standard occulsion mask for each platform.</para>
  336. </summary>
  337. </member>
  338. <member name="P:UnityEngine.XR.XRSettings.renderScale">
  339. <summary>
  340. <para>This field has been deprecated. Use XRSettings.eyeTextureResolutionScale instead.</para>
  341. </summary>
  342. </member>
  343. <member name="P:UnityEngine.XR.XRSettings.renderViewportScale">
  344. <summary>
  345. <para>Controls how much of the allocated eye texture should be used for rendering.</para>
  346. </summary>
  347. </member>
  348. <member name="P:UnityEngine.XR.XRSettings.showDeviceView">
  349. <summary>
  350. <para>This property has been deprecated. Use XRSettings.gameViewRenderMode instead.</para>
  351. </summary>
  352. </member>
  353. <member name="P:UnityEngine.XR.XRSettings.supportedDevices">
  354. <summary>
  355. <para>Returns a list of supported XR devices that were included at build time.</para>
  356. </summary>
  357. </member>
  358. <member name="P:UnityEngine.XR.XRSettings.useOcclusionMesh">
  359. <summary>
  360. <para>Specifies whether or not the occlusion mesh should be used when rendering. Enabled by default.</para>
  361. </summary>
  362. </member>
  363. <member name="M:UnityEngine.XR.XRSettings.LoadDeviceByName(System.String)">
  364. <summary>
  365. <para>Loads the requested device at the beginning of the next frame.</para>
  366. </summary>
  367. <param name="deviceName">Name of the device from XRSettings.supportedDevices.</param>
  368. <param name="prioritizedDeviceNameList">Prioritized list of device names from XRSettings.supportedDevices.</param>
  369. </member>
  370. <member name="M:UnityEngine.XR.XRSettings.LoadDeviceByName(System.String[])">
  371. <summary>
  372. <para>Loads the requested device at the beginning of the next frame.</para>
  373. </summary>
  374. <param name="deviceName">Name of the device from XRSettings.supportedDevices.</param>
  375. <param name="prioritizedDeviceNameList">Prioritized list of device names from XRSettings.supportedDevices.</param>
  376. </member>
  377. <member name="T:UnityEngine.XR.XRStats">
  378. <summary>
  379. <para>Timing and other statistics from the XR subsystem.</para>
  380. </summary>
  381. </member>
  382. <member name="P:UnityEngine.XR.XRStats.gpuTimeLastFrame">
  383. <summary>
  384. <para>Total GPU time utilized last frame as measured by the XR subsystem.</para>
  385. </summary>
  386. </member>
  387. <member name="M:UnityEngine.XR.XRStats.TryGetDroppedFrameCount(System.Int32&amp;)">
  388. <summary>
  389. <para>Retrieves the number of dropped frames reported by the XR SDK.</para>
  390. </summary>
  391. <param name="droppedFrameCount">Outputs the number of frames dropped since the last update.</param>
  392. <returns>
  393. <para>True if the dropped frame count is available, false otherwise.</para>
  394. </returns>
  395. </member>
  396. <member name="M:UnityEngine.XR.XRStats.TryGetFramePresentCount(System.Int32&amp;)">
  397. <summary>
  398. <para>Retrieves the number of times the current frame has been drawn to the device as reported by the XR SDK.</para>
  399. </summary>
  400. <param name="framePresentCount">Outputs the number of times the current frame has been presented.</param>
  401. <returns>
  402. <para>True if the frame present count is available, false otherwise.</para>
  403. </returns>
  404. </member>
  405. <member name="M:UnityEngine.XR.XRStats.TryGetGPUTimeLastFrame(System.Single&amp;)">
  406. <summary>
  407. <para>Retrieves the time spent by the GPU last frame, in seconds, as reported by the XR SDK.</para>
  408. </summary>
  409. <param name="gpuTimeLastFrame">Outputs the time spent by the GPU last frame.</param>
  410. <returns>
  411. <para>True if the GPU time spent last frame is available, false otherwise.</para>
  412. </returns>
  413. </member>
  414. </members>
  415. </doc>