IAnimatedVisualSource3.TryCreateAnimatedVisual 方法

定义

尝试创建动画视觉对象。

public:
 IAnimatedVisual2 ^ TryCreateAnimatedVisual(Compositor ^ compositor, [Out] Platform::Object ^ & diagnostics, bool createAnimations);
IAnimatedVisual2 TryCreateAnimatedVisual(Compositor const& compositor, [Out] IInspectable const& & diagnostics, bool const& createAnimations);
public IAnimatedVisual2 TryCreateAnimatedVisual(Compositor compositor, out object diagnostics, bool createAnimations);
Public Function TryCreateAnimatedVisual (compositor As Compositor, ByRef diagnostics As Object, createAnimations As Boolean) As IAnimatedVisual2

参数

compositor
Compositor

动画视觉对象的合成器。

diagnostics
Object

Platform::Object

IInspectable

诊断有关尝试创建动画视觉对象的信息。

createAnimations
Boolean

bool

true 创建动画;否则为 false

返回

可由其他对象使用的动画视觉对象。

适用于