언어

PerceptionDepthFrameSource.TryGetTransformTo(String, Matrix4x4) 메서드

정의

깊이 프레임 원본에서 대상 엔터티로 변환을 가져오고 상관 관계가 있는 경우 hasResult를 true로 설정합니다. 상관 관계가 없으면 hasResult가 false로 설정되고 결과가 수정되지 않습니다.

public:
 virtual bool TryGetTransformTo(Platform::String ^ targetId, [Out] float4x4 & result) = TryGetTransformTo;
bool TryGetTransformTo(winrt::hstring const& targetId, [Out] float4x4 & result);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
bool TryGetTransformTo(winrt::hstring const& targetId, [Out] float4x4 & result);
public bool TryGetTransformTo(string targetId, out Matrix4x4 result);
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public bool TryGetTransformTo(string targetId, out Matrix4x4 result);
Public Function TryGetTransformTo (targetId As String, ByRef result As Matrix4x4) As Boolean

매개 변수

targetId
String

Platform::String

winrt::hstring

대상 엔터티의 고유 ID입니다.

result
Matrix4x4

float4x4

상관 관계가 있는 경우 깊이 프레임 원본 좌표계에서 대상 엔터티 좌표계로 기초를 변경하는 4x4 변환 행렬로 설정됩니다.

반품

Boolean

bool

상관 관계가 있으면 True, 그렇지 않으면 false입니다.

특성

적용 대상