GraphicsBindingOpenXrD3d11.GetRemoteFocusPoint 方法

定义

检索远程对焦点。

public:
 Microsoft::Azure::RemoteRendering::FocusPointResult GetRemoteFocusPoint(System::UInt64 spaceHandle, [Runtime::InteropServices::Out] Microsoft::Azure::RemoteRendering::Float3 % position, [Runtime::InteropServices::Out] Microsoft::Azure::RemoteRendering::Float3 % normal, [Runtime::InteropServices::Out] Microsoft::Azure::RemoteRendering::Float3 % velocity);
public Microsoft.Azure.RemoteRendering.FocusPointResult GetRemoteFocusPoint (ulong spaceHandle, out Microsoft.Azure.RemoteRendering.Float3 position, out Microsoft.Azure.RemoteRendering.Float3 normal, out Microsoft.Azure.RemoteRendering.Float3 velocity);
member this.GetRemoteFocusPoint : uint64 * Float3 * Float3 * Float3 -> Microsoft.Azure.RemoteRendering.FocusPointResult
Public Function GetRemoteFocusPoint (spaceHandle As ULong, ByRef position As Float3, ByRef normal As Float3, ByRef velocity As Float3) As FocusPointResult

参数

spaceHandle
UInt64

应在其中表示焦点的 OpenXR 空间。 传递无效的空间句柄将导致无效的焦点。

position
Float3

焦点在世界空间中的位置。

normal
Float3

焦点在世界空间中的法线。

velocity
Float3

以世界空间单位/秒为单位测量的焦点速度。

返回

如何解释点数据。 如果 Invalid 返回 ,则不应使用数据。

注解

必须将此焦点显式设置为要使用的焦点。

NoConnection如果在与服务器没有连接的情况下调用,则会发生错误。

适用于