Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.32 KB

holographicquadlayerupdateparameters_updatelocationwithdisplayrelativemode_881203171.md

File metadata and controls

30 lines (20 loc) · 1.32 KB
-api-id -api-type
M:Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters.UpdateLocationWithDisplayRelativeMode(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
winrt method

Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters.UpdateLocationWithDisplayRelativeMode

-description

Updates the center location of this quad layer relative to the center of the displays, setting it to remain at that display-relative location in future frames.

-parameters

-param position

A point for the center of the quad plane, specified relative to the center of the displays.

-param orientation

A rotation for the normal of the quad plane, specified relative to a normal facing the displays.

-remarks

For a display-relative quad, the app calls UpdateLocationWithDisplayRelativeMode to specify the spatial position and orientation in world coordinates relative to the center of the displays.

You must also call UpdateExtents to specify the width and height of the quad layer, centered around this point.

-see-also

-examples