VertexDeclaration

VertexDeclaration

Overview

VertexDeclaration 是一个类在Aspose.3D FOSS的.NET中. 继承人: IEnumerable<VertexField>, IEquatable<VertexDeclaration>, IComparable<VertexDeclaration>.

VertexDeclaration.VertexDeclaration creates a new, empty vertex declaration instance.

本类提供了在NET程序中与VertexDeclaration对象工作的8种方法. 有的方法包括: AddField, Clear, CompareTo, Equals, GetEnumerator, GetHashCode, ToString, VertexDeclaration. 所有公众成员在安装了Aspose.3D FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: Count, Sealed, Size.

Properties

NameTypeAccessDescription
SealedboolRead得到封闭.
CountintRead得到了数.
SizeintRead得到了尺寸.

Methods

SignatureDescription
VertexDeclaration()创建一个新的空顶点声明实例.
Clear()删除声明中的所有字段,将其重新设置为空格.
AddField(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, index: int, alias: string)添加一个带有给定的类型,语义,索引和别名的顶点字段.
GetHashCode()根据声明内容返回哈希码.
Equals(obj: object?)确定给定对象是否是等顶式声明.
Equals(other: VertexDeclaration)
CompareTo(other: VertexDeclaration)将此声明与另一个排序顺序进行比较.
ToString()返回顶点声明的字符串表示
GetEnumerator()在声明的字段上提供代器.

See Also

 中文