类 SemanticAttribute
SemanticAttribute class
允许用户使用自己的结构来静态声明 VertexDeclaration
[AttributeUsage(AttributeTargets.Field)]
public sealed class SemanticAttribute : Attribute
构造函数
| 名称 | 描述 |
|---|---|
| SemanticAttribute(VertexFieldSemantic) | 初始化 SemanticAttribute |
| SemanticAttribute(VertexFieldSemantic, string) | 初始化 SemanticAttribute |
属性
| 名称 | 描述 |
|---|---|
| Alias { get; } | 顶点字段的别名 |
| Semantic { get; } | 顶点字段的语义 |
另请参见
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D