다음을 통해 공유


SpatialInteractionController.TryGetRenderableModelAsync 메서드

정의

이 컨트롤러를 나타내기 위해 압축을 풀고 렌더링할 수 있는 이 컨트롤러에 대한 렌더링 가능한 모델 스트림을 가져옵니다.

public:
 virtual IAsyncOperation<IRandomAccessStreamWithContentType ^> ^ TryGetRenderableModelAsync() = TryGetRenderableModelAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IRandomAccessStreamWithContentType> TryGetRenderableModelAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IRandomAccessStreamWithContentType> TryGetRenderableModelAsync();
function tryGetRenderableModelAsync()
Public Function TryGetRenderableModelAsync () As IAsyncOperation(Of IRandomAccessStreamWithContentType)

반환

렌더링 가능한 모델 스트림이 로드되면 트리거되는 작업으로, 사용 가능한 모델이 없는 경우 스트림 또는 null을 생성합니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

설명

모델 스트림은 glTF 2.0 Core 이진 파일로 반환됩니다. 앱은 모델의 내부 계층 구조에서 노드의 변환을 업데이트하여 컨트롤러의 구성 요소 부분의 동작과 일치하도록 모델을 명확하게 표현할 수 있습니다.

적용 대상