다음을 통해 공유


AnimationPropertyInfo.GetResolvedCompositionObject 메서드

정의

와 연결된 컴퍼지션 개체를 검색합니다 AnimationPropertyInfo.

public:
 virtual CompositionObject ^ GetResolvedCompositionObject() = GetResolvedCompositionObject;
CompositionObject GetResolvedCompositionObject();
public CompositionObject GetResolvedCompositionObject();
function getResolvedCompositionObject()
Public Function GetResolvedCompositionObject () As CompositionObject

반환

와 연결된 컴퍼지션 개체입니다 AnimationPropertyInfo.

Windows 요구 사항

디바이스 패밀리
Windows 10, version 2104 (10.0.20348.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v12.0에서 도입되었습니다.)

예제

// Create an AnimationPropertyInfo object that will hold the mapping between the custom
// animatable property and the corresponding composition object.
AnimationPropertyInfo propertyInfo = _compositor.CreateAnimationPropertyInfo();

animatableObject.PopulatePropertyInfo("CustomOffset", propertyInfo);

// Get the resolved composition object and property for "CustomOffset".
CompositionObject resolvedObject = propertyInfo.GetResolvedCompositionObject();
String resolvedProperty = propertyInfo.GetResolvedCompositionObjectProperty();

적용 대상