Share via


SpatialLocator.CreateAttachedFrameOfReferenceAtCurrentHeading Method

Definition

Overloads

CreateAttachedFrameOfReferenceAtCurrentHeading()

Creates a frame of reference that's positionally attached to this SpatialLocator with the current orientation as its fixed heading.

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)

Creates a frame of reference that's positionally attached to this SpatialLocator with the current orientation as its fixed heading and with its origin offset by the specified relative position.

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)

Creates a frame of reference that's positionally attached to this SpatialLocator with the current orientation as its fixed heading and with its origin offset and rotated by the specified relative position and orientation.

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)

Creates a frame of reference that's positionally attached to this SpatialLocator with the supplied heading in radians relative to the current orientation and with its origin offset by the specified relative position and orientation.

CreateAttachedFrameOfReferenceAtCurrentHeading()

Creates a frame of reference that's positionally attached to this SpatialLocator with the current orientation as its fixed heading.

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading() = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeading")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading();
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeading")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading();
function createAttachedFrameOfReferenceAtCurrentHeading()
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading () As SpatialLocatorAttachedFrameOfReference

Returns

The locator-attached frame of reference.

Attributes

See also

Applies to

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)

Creates a frame of reference that's positionally attached to this SpatialLocator with the current orientation as its fixed heading and with its origin offset by the specified relative position.

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading(float3 relativePosition) = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(float3 const& relativePosition);
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3 relativePosition);
function createAttachedFrameOfReferenceAtCurrentHeading(relativePosition)
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading (relativePosition As Vector3) As SpatialLocatorAttachedFrameOfReference

Parameters

relativePosition
Vector3 Vector3

float3

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

Returns

The locator-attached frame of reference.

Attributes

See also

Applies to

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)

Creates a frame of reference that's positionally attached to this SpatialLocator with the current orientation as its fixed heading and with its origin offset and rotated by the specified relative position and orientation.

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading(float3 relativePosition, quaternion relativeOrientation) = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(float3 const& relativePosition, quaternion const& relativeOrientation);
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3 relativePosition, Quaternion relativeOrientation);
function createAttachedFrameOfReferenceAtCurrentHeading(relativePosition, relativeOrientation)
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading (relativePosition As Vector3, relativeOrientation As Quaternion) As SpatialLocatorAttachedFrameOfReference

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.

Returns

The locator-attached frame of reference.

Attributes

See also

Applies to

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)

Creates a frame of reference that's positionally attached to this SpatialLocator with the supplied heading in radians relative to the current orientation and with its origin offset by the specified relative position and orientation.

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

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.

Returns

The locator-attached frame of reference.

Attributes

See also

Applies to