FMX.Types3D.TVertexFormat
Delphi
TVertexFormat = (Vertex, Normal, Color0, Color1, Color2, Color3, ColorF0, ColorF1, ColorF2, ColorF3, TexCoord0, TexCoord1, TexCoord2, TexCoord3, BiNormal, Tangent);
C++
enum class DECLSPEC_DENUM TVertexFormat : unsigned char { Vertex, Normal, Color0, Color1, Color2, Color3, ColorF0, ColorF1, ColorF2, ColorF3, TexCoord0, TexCoord1, TexCoord2, TexCoord3, BiNormal, Tangent };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
Enumeration of vertex formats.
The following table explains the available elements in TVertexFormat:
| Value | Description |
|---|---|
|
|
Only the vertex. |
|
|
Specifies that the vertex includes a normal vector. |
|
|
Specifies that the vertex includes a color diffusing mechanism. |
|
|
Specifies that the vertex includes a specular color. |
|
|
Specifies that the vertex has a texture coordinate set. |
|
|
Specifies that the vertex has a second texture coordinate set. |
|
|
Specifies that the vertex has a third texture coordinate set. |
|
|
Specifies that the vertex has a forth texture coordinate set. |
*If you want to specify several texture coordinate sets, you need to do so always starting from vfTexCoord0. For example, to specify two coordinate sets you need to specify vfTexCoord0 and vfTexCoord1.