SemanticAttribute

SemanticAttribute class

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

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

Constructors

NameDescription
SemanticAttribute(VertexFieldSemantic)Initialize a SemanticAttribute
SemanticAttribute(VertexFieldSemantic, string)Initialize a SemanticAttribute

Properties

NameDescription
Alias { get; }Alias of the vertex field
Semantic { get; }Semantic of the vertex field

See Also