SemanticAttribute

SemanticAttribute class

Allow user to use their own structure for static declaration of VertexDeclaration

[AttributeUsage(AttributeTargets.Field)]
public sealed class SemanticAttribute : Attribute

Constructors

Name Description
SemanticAttribute(VertexFieldSemantic) Initialize a SemanticAttribute
SemanticAttribute(VertexFieldSemantic, string) Initialize a SemanticAttribute

Properties

Name Description
Alias { get; } Alias of the vertex field
Semantic { get; } Semantic of the vertex field

See Also