SceneMeshMaterialAttributeMap 类

定义

将场景网格的材料属性集合表示为键/值对。

public ref class SceneMeshMaterialAttributeMap sealed : SceneObject, IIterable<IKeyValuePair<Platform::String ^, SceneAttributeSemantic> ^>, IMap<Platform::String ^, SceneAttributeSemantic>
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SceneMeshMaterialAttributeMap final : SceneObject, IIterable<IKeyValuePair<winrt::hstring, SceneAttributeSemantic>>, IMap<winrt::hstring, SceneAttributeSemantic>
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
class SceneMeshMaterialAttributeMap final : SceneObject, IIterable<IKeyValuePair<winrt::hstring, SceneAttributeSemantic>>, IMap<winrt::hstring, SceneAttributeSemantic>
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SceneMeshMaterialAttributeMap : SceneObject, IDictionary<string,SceneAttributeSemantic>, IEnumerable<KeyValuePair<string,SceneAttributeSemantic>>
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public sealed class SceneMeshMaterialAttributeMap : SceneObject, IDictionary<string,SceneAttributeSemantic>, IEnumerable<KeyValuePair<string,SceneAttributeSemantic>>
Public NotInheritable Class SceneMeshMaterialAttributeMap
Inherits SceneObject
Implements IDictionary(Of String, SceneAttributeSemantic), IEnumerable(Of KeyValuePair(Of String, SceneAttributeSemantic))
继承
Object Platform::Object IInspectable CompositionObject SceneObject SceneMeshMaterialAttributeMap
属性
实现

属性

Comment

要与 CompositionObject 关联的字符串。

(继承自 CompositionObject)
Compositor

用于创建此 CompositionObjectCompositor

(继承自 CompositionObject)
DispatcherQueue

获取 CompositionObject 的 DispatcherQueue。

(继承自 CompositionObject)
ImplicitAnimations

附加到此 对象的隐式动画的集合。

(继承自 CompositionObject)
Properties

CompositionObject 关联的属性的集合。

(继承自 CompositionObject)
Size

获取映射中的项数。

方法

Clear()

从映射中删除所有项。

Close()

关闭 CompositionObject 并释放系统资源。

(继承自 CompositionObject)
Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

(继承自 CompositionObject)
First()

返回集合中项的迭代器。

GetView()

返回地图的不可变视图。

HasKey(String)

确定映射是否包含指定的键。

Insert(String, SceneAttributeSemantic)

插入或替换地图中的项。

Lookup(String)

返回映射中指定键处的项。

PopulatePropertyInfo(String, AnimationPropertyInfo)

定义可进行动画处理的属性。

(继承自 CompositionObject)
Remove(String)

从映射中删除项。

StartAnimation(String, CompositionAnimation)

将动画与 对象的指定属性连接,并启动动画。

(继承自 CompositionObject)
StartAnimation(String, CompositionAnimation, AnimationController)

将动画与 对象的指定属性连接,并启动动画。

(继承自 CompositionObject)
StartAnimationGroup(ICompositionAnimationBase)

启动动画组。

使用 CompositionObject 上的 StartAnimationGroup 方法可以启动 CompositionAnimationGroup。 组中的所有动画都将在 对象上同时启动。

(继承自 CompositionObject)
StopAnimation(String)

断开动画与指定属性的连接,并停止动画。

(继承自 CompositionObject)
StopAnimationGroup(ICompositionAnimationBase)

停止动画组。

(继承自 CompositionObject)
TryGetAnimationController(String)

返回指定属性上运行的动画的 AnimationController。

(继承自 CompositionObject)

适用于