Skip to content
Paweł Waligóra edited this page Sep 6, 2024 · 2 revisions

fielda, fielda2, fielda4, fielda8

preamble key-word since v1.0.0

Can only be defined in main preamble.

fields in file.

Behaviour

Outputs how many fields in total are in a resulting output file.

Example

fielda
; vertex.x vertex.y vertex.z
; uv.x uv.y
; indice.0 indice.1 indices.2

Suppose processed mesh has 12 vertices and 6 indices. fielda key-word will produce value of: 12×3 + 12×2 + 6×3 = 78.

Clone this wiki locally