VertexType

From Crumbled World Wiki
Revision as of 14:27, 5 July 2025 by Anders (talk | contribs) (Created page with "{{:VertexTypeExampleCode}} ==Enum== {| class="wikitable" !|Name !|Value !|Description |- |position3 |0 |Is of type Vec3. |- |position4 |1 |Is of type Vec4. |- |normal |2 |Is of type Vec3. |- |uvcoord |3 |Is of type Vec2. |- |tangent |4 |Is of type Vec3. |- |color3 |5 |Is of type Vec3. |- |color4 |6 |Is of type Vec4. |- |boneId |7 |Is of type Vec3. |- |boneWeight |8 |Is of type Vec3. |- |}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

VertexTypeExampleCode

Enum

Name Value Description
position3 0 Is of type Vec3.
position4 1 Is of type Vec4.
normal 2 Is of type Vec3.
uvcoord 3 Is of type Vec2.
tangent 4 Is of type Vec3.
color3 5 Is of type Vec3.
color4 6 Is of type Vec4.
boneId 7 Is of type Vec3.
boneWeight 8 Is of type Vec3.