SpatialLocator.CreateAttachedFrameOfReferenceAtCurrentHeading 方法

定义

重载

CreateAttachedFrameOfReferenceAtCurrentHeading()

创建一个参考框架,该框架的位置附加到此 SpatialLocator,其当前方向作为其固定标题。

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)

创建一个参考框架,该框架的位置附加到此 SpatialLocator,其当前方向作为其固定标题,其原点偏移量为指定的相对位置。

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)

创建一个参考框架,该框架的位置附加到此 SpatialLocator,其当前方向作为其固定标题,其原点偏移量,并按指定的相对位置和方向旋转。

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)

创建一个参考框架,该框架的位置附加到此 SpatialLocator,所提供的标题相对于当前方向的弧度,其原点偏移量为指定的相对位置和方向。

CreateAttachedFrameOfReferenceAtCurrentHeading()

创建一个参考框架,该框架的位置附加到此 SpatialLocator,其当前方向作为其固定标题。

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

返回

定位符附加的参照系。

属性

另请参阅

适用于

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)

创建一个参考框架,该框架的位置附加到此 SpatialLocator,其当前方向作为其固定标题,其原点偏移量为指定的相对位置。

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

参数

relativePosition
Vector3 Vector3

float3

参照系原点的位置偏移量,在其坐标系中表示。

返回

定位符附加的参照系。

属性

另请参阅

适用于

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)

创建一个参考框架,该框架的位置附加到此 SpatialLocator,其当前方向作为其固定标题,其原点偏移量,并按指定的相对位置和方向旋转。

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

参数

relativePosition
Vector3 Vector3

float3

参照系原点的位置偏移量,在其坐标系中表示。

relativeOrientation
Quaternion Quaternion

quaternion

参照系原点相对于标题方向的旋转。

返回

定位符附加的参照系。

属性

另请参阅

适用于

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)

创建一个参考框架,该框架的位置附加到此 SpatialLocator,所提供的标题相对于当前方向的弧度,其原点偏移量为指定的相对位置和方向。

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

参数

relativePosition
Vector3 Vector3

float3

参照系原点的位置偏移量,在其坐标系中表示。

relativeOrientation
Quaternion Quaternion

quaternion

参照系原点相对于标题方向的旋转。

relativeHeadingInRadians
Double

double

从 SpatialLocator 的当前方向旋转固定标题的量(以弧度为单位)。

返回

定位符附加的参照系。

属性

另请参阅

适用于