Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.6 KB

spatiallocator_createstationaryframeofreferenceatcurrentlocation_1011289382.md

File metadata and controls

31 lines (22 loc) · 1.6 KB
-api-id -api-type -api-device-family-note
M:Windows.Perception.Spatial.SpatialLocator.CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
winrt method
xbox

Windows.Perception.Spatial.SpatialLocator.CreateStationaryFrameOfReferenceAtCurrentLocation

-description

Creates a frame of reference that remains stationary relative to the user's surroundings, with its initial origin at the specified offset from the SpatialLocator's current location, and then rotated at the specified rotation.

-parameters

-param relativePosition

The positional offset of the origin of the frame of reference, expressed within its coordinate system.

-param relativeOrientation

The rotation of the origin of the frame of reference, relative to the orientation of the SpatialLocator.

-returns

The stationary frame of reference.

-remarks

-examples

-see-also

CreateStationaryFrameOfReferenceAtCurrentLocation, CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3), CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)