GraphicsBindingOpenXrD3d11.GetRemoteFocusPoint Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Récupère le point de focus distant.
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
Paramètres
- spaceHandle
- UInt64
Espace OpenXR dans lequel le point de focus doit être exprimé. Le passage d’un handle d’espace non valide entraîne des points de focus non valides.
- position
- Float3
Position du point de focus dans l’espace mondial.
- normal
- Float3
Le point de focus est normal dans l’espace du monde.
- velocity
- Float3
La vitesse du point de focalisation mesurée en unités par seconde, dans l’espace mondial.
Retours
Comment interpréter les données de point. Si Invalid est retourné, les données ne doivent pas être utilisées.
Remarques
Ce point de focus doit être explicitement défini comme point de focus à utiliser.
Une NoConnection erreur se produit si cette opération est appelée alors qu’il n’existe aucune connexion au serveur.