Dela via


GraphicsBindingOpenXrD3d11.GetRemoteFocusPoint Metod

Definition

Hämtar fjärrfokuspunkten.

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

Parametrar

spaceHandle
UInt64

Det OpenXR-utrymme där fokuspunkten ska uttryckas. Om ett ogiltigt blankstegshandtag skickas resulterar det i ogiltiga fokuspunkter.

position
Float3

Fokuspunktens position i världsrymden.

normal
Float3

Fokuspunkten är normal i världsrymden.

velocity
Float3

Fokuspunktens hastighet mätt i enheter per sekund, i världsrymden.

Returer

Så här tolkar du punktdata. Om Invalid returneras ska inte data användas.

Kommentarer

Den här fokuspunkten måste uttryckligen anges som den fokuspunkt som ska användas.

Ett NoConnection fel uppstår om detta anropas när det inte finns någon anslutning till servern.

Gäller för