Share via


HolographicCameraPose.TryGetViewTransform(SpatialCoordinateSystem) 方法

定义

获取此相机姿势的立体视图转换,表示为来自指定坐标系的转换。 如果此时无法找到指定的坐标系,此方法将返回 null。

public:
 virtual IReference<HolographicStereoTransform> ^ TryGetViewTransform(SpatialCoordinateSystem ^ coordinateSystem) = TryGetViewTransform;
IReference<HolographicStereoTransform> TryGetViewTransform(SpatialCoordinateSystem const& coordinateSystem);
public System.Nullable<HolographicStereoTransform> TryGetViewTransform(SpatialCoordinateSystem coordinateSystem);
function tryGetViewTransform(coordinateSystem)
Public Function TryGetViewTransform (coordinateSystem As SpatialCoordinateSystem) As Nullable(Of HolographicStereoTransform)

参数

coordinateSystem
SpatialCoordinateSystem

呈现的几何图形应从中转换的坐标系。

返回

转换。

注解

如果此时无法找到指定的坐标系,此方法将返回 null。

适用于