GraphicsBindingWmrD3d11.GetRemoteFocusPoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the remote focus point.
public:
Microsoft::Azure::RemoteRendering::FocusPointResult GetRemoteFocusPoint(IntPtr coordinateSystem, [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 (IntPtr coordinateSystem, out Microsoft.Azure.RemoteRendering.Float3 position, out Microsoft.Azure.RemoteRendering.Float3 normal, out Microsoft.Azure.RemoteRendering.Float3 velocity);
member this.GetRemoteFocusPoint : nativeint * Float3 * Float3 * Float3 -> Microsoft.Azure.RemoteRendering.FocusPointResult
Public Function GetRemoteFocusPoint (coordinateSystem As IntPtr, ByRef position As Float3, ByRef normal As Float3, ByRef velocity As Float3) As FocusPointResult
Parameters
- coordinateSystem
-
IntPtr
nativeint
The coordinate frame in which the focus point should be expressed. Passing an invalid coordinate system will result in invalid focus points.
- position
- Float3
The focus point's position in world-space.
- normal
- Float3
The focus point's normal in world-space.
- velocity
- Float3
The focus point's velocity measured in units per second, in world-space.
Returns
How to interpret the point data. If Invalid is returned, the data should not be used.
Remarks
This focus point must be explicitly set as the focus point to be used.
A NoConnection error occurs if this is called while there is no connection to the server.