SpatialLocator.CreateStationaryFrameOfReferenceAtCurrentLocation Method

Definition

Overloads

CreateStationaryFrameOfReferenceAtCurrentLocation()

Creates a frame of reference that remains stationary relative to the user's surroundings, with its initial origin at the SpatialLocator's current location.

CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3)

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.

CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion)

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.

CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)

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 along the specified relative heading in radians, and then rotated at the specified rotation.

CreateStationaryFrameOfReferenceAtCurrentLocation()

Creates a frame of reference that remains stationary relative to the user's surroundings, with its initial origin at the SpatialLocator's current location.

public:
 virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation() = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocation")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation();
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocation")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation();
function createStationaryFrameOfReferenceAtCurrentLocation()
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation () As SpatialStationaryFrameOfReference

Returns

The stationary frame of reference.

Attributes

See also

Applies to

CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3)

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.

public:
 virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation(float3 relativePosition) = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(float3 const& relativePosition);
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition);
function createStationaryFrameOfReferenceAtCurrentLocation(relativePosition)
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation (relativePosition As Vector3) As SpatialStationaryFrameOfReference

Parameters

relativePosition
Vector3 Vector3

float3

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

Returns

The stationary frame of reference.

Attributes

See also

Applies to

CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion)

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.

public:
 virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation(float3 relativePosition, quaternion relativeOrientation) = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(float3 const& relativePosition, quaternion const& relativeOrientation);
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition, Quaternion relativeOrientation);
function createStationaryFrameOfReferenceAtCurrentLocation(relativePosition, relativeOrientation)
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation (relativePosition As Vector3, relativeOrientation As Quaternion) As SpatialStationaryFrameOfReference

Parameters

relativePosition
Vector3 Vector3

float3

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

relativeOrientation
Quaternion Quaternion

quaternion

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

Returns

The stationary frame of reference.

Attributes

See also

Applies to

CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)

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 along the specified relative heading in radians, and then rotated at the specified rotation.

public:
 virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation(float3 relativePosition, quaternion relativeOrientation, double relativeHeadingInRadians) = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(float3 const& relativePosition, quaternion const& relativeOrientation, double const& relativeHeadingInRadians);
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition, Quaternion relativeOrientation, double relativeHeadingInRadians);
function createStationaryFrameOfReferenceAtCurrentLocation(relativePosition, relativeOrientation, relativeHeadingInRadians)
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation (relativePosition As Vector3, relativeOrientation As Quaternion, relativeHeadingInRadians As Double) As SpatialStationaryFrameOfReference

Parameters

relativePosition
Vector3 Vector3

float3

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

relativeOrientation
Quaternion Quaternion

quaternion

The rotation of the origin of the frame of reference, relative to the direction of the heading.

relativeHeadingInRadians
Double

double

The amount to rotate the fixed heading from the SpatialLocator's current orientation, in radians, before the positional offset.

Returns

The stationary frame of reference.

Attributes

See also

Applies to