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();

適用対象