MeshComponent 类

定义

在 的位置 Entity呈现网格。

public ref class MeshComponent : Microsoft::Azure::RemoteRendering::ComponentBase
public class MeshComponent : Microsoft.Azure.RemoteRendering.ComponentBase
type MeshComponent = class
    inherit ComponentBase
Public Class MeshComponent
Inherits ComponentBase
继承

注解

引用的 Mesh 呈现在所有者实体的位置。 网格组件还允许替代用于呈现的材料。 如果网格已使用冲突信息进行转换,则它还将参与 空间查询

属性

Enabled

此组件的启用状态。

(继承自 ComponentBase)
InteropId

在 的位置 Entity呈现网格。

(继承自 ObjectBase)
Materials

返回在此组件上设置的材料列表。

Mesh

Mesh用于呈现和空间查询的 。

Owner

Entity此组件附加到的 。

(继承自 ComponentBase)
Type

此组件的 确切类型

(继承自 ComponentBase)
UsedMaterials

返回用于呈现网格的实际使用材料的列表。

Valid

此组件是否仍然有效。

(继承自 ComponentBase)

方法

AsToolingObject<ToolingObject>()

在 的位置 Entity呈现网格。

(继承自 ObjectBase)
Destroy()

销毁运行时中的组件。

(继承自 ComponentBase)
Equals(Object)

在 的位置 Entity呈现网格。

(继承自 ObjectBase)
GetHashCode()

在 的位置 Entity呈现网格。

(继承自 ObjectBase)
SetMaterial(Int32, Material)

设置给定材料槽的替代材料。

适用于

另请参阅