MeshArrayFormat Enumeration |
[Missing <summary> documentation for "T:Godot.Mesh.ArrayFormat"]
Namespace: Godot
public enum ArrayFormat
Member name | Value | Description | |
---|---|---|---|
FormatVertex | 1 | Mesh array contains vertices. All meshes require a vertex array so this should always be present. | |
FormatNormal | 2 | Mesh array contains normals. | |
FormatTangent | 4 | Mesh array contains tangents. | |
FormatColor | 8 | Mesh array contains colors. | |
FormatTexUv | 16 | Mesh array contains UVs. | |
FormatTexUv2 | 32 | Mesh array contains second UV. | |
FormatBones | 64 | Mesh array contains bones. | |
FormatWeights | 128 | Mesh array contains bone weights. | |
FormatIndex | 256 | Mesh array uses indices. | |
CompressBase | 9 | Used internally to calculate other ARRAY_COMPRESS_* enum values. Do not use. | |
CompressVertex | 512 | Flag used to mark a compressed (half float) vertex array. | |
CompressNormal | 1024 | Flag used to mark a compressed (half float) normal array. | |
CompressTangent | 2048 | Flag used to mark a compressed (half float) tangent array. | |
CompressColor | 4096 | Flag used to mark a compressed (half float) color array. | |
CompressTexUv | 8192 | Flag used to mark a compressed (half float) UV coordinates array. | |
CompressTexUv2 | 16384 | Flag used to mark a compressed (half float) UV coordinates array for the second UV coordinates. | |
CompressBones | 32768 | Flag used to mark a compressed bone array. | |
CompressWeights | 65536 | Flag used to mark a compressed (half float) weight array. | |
CompressIndex | 131072 | Flag used to mark a compressed index array. | |
FlagUse2dVertices | 262144 | Flag used to mark that the array contains 2D vertices. | |
FlagUse16BitBones | 524288 | Flag used to mark that the array uses 16-bit bones instead of 8-bit. | |
CompressDefault | 97280 | Used to set flags , , , , , and quickly. |