MonoGame/クラスライブラリ/VertexPositionColorTexture構造体
VertexPositionColorTexture構造体は、MonoGameに標準搭載されている4種類の頂点構造体のひとつで、位置、色、テクスチャ座標を持つ。
名前空間 編集
構文 編集
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)] public struct VertexPositionColorTexture : IVertexType
コンストラクタ 編集
| 名称 | 概要 | |
|---|---|---|
| VertexPositionColorTexture |
フィールド 編集
| 名称 | 概要 | |
|---|---|---|
| Color | 頂点の色 | |
| Position | XYZ座標 | |
| TextureCoordinate | UV座標 | |
| static | VertexDeclaration | 頂点の構造 |
メソッド 編集
| 名称 | 概要 | |
|---|---|---|
| Equals | ||
| GetHashCode | ||
| ToString |
オペレータ 編集
| 名称 | 概要 | |
|---|---|---|
| static | Equality | |
| static | Inequality |