SceneMeshRendererComponent 类

定义

表示呈现 SceneMesh 的组件。

public ref class SceneMeshRendererComponent sealed : SceneRendererComponent
/// [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 SceneMeshRendererComponent final : SceneRendererComponent
/// [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 SceneMeshRendererComponent final : SceneRendererComponent
[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 SceneMeshRendererComponent : SceneRendererComponent
[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 SceneMeshRendererComponent : SceneRendererComponent
Public NotInheritable Class SceneMeshRendererComponent
Inherits SceneRendererComponent
继承
Object Platform::Object IInspectable CompositionObject SceneObject SceneComponent SceneRendererComponent SceneMeshRendererComponent
属性

属性

Comment

要与 CompositionObject 关联的字符串。

(继承自 CompositionObject)
ComponentType

获取一个值,该值指示这是哪种类型的组件。

(继承自 SceneComponent)
Compositor

用于创建此 CompositionObjectCompositor

(继承自 CompositionObject)
DispatcherQueue

获取 CompositionObject 的 DispatcherQueue。

(继承自 CompositionObject)
ImplicitAnimations

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

(继承自 CompositionObject)
Material

获取或设置描述网格图面呈现方式的材料。

Mesh

获取或设置要呈现的 SceneMesh。

Properties

CompositionObject 关联的属性的集合。

(继承自 CompositionObject)
UVMappings

获取材料到网格的 UV 映射。

方法

Close()

关闭 CompositionObject 并释放系统资源。

(继承自 CompositionObject)
Create(Compositor)

创建 SceneMeshRendererComponent 的实例。

Dispose()

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

(继承自 CompositionObject)
PopulatePropertyInfo(String, AnimationPropertyInfo)

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

(继承自 CompositionObject)
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)

适用于