Skip to content

ModelFormat

Namespace Nfty.Model in assembly Nfty.Model.

public enum ModelFormat

The file shape a model is written in. All three are serialized from one glTF document and differ only in where the binary buffer lives.

Values

  • Glb = 0 - One binary .glb: the JSON and the buffer in one self-contained file. The default — the form every viewer opens with nothing beside it.
  • GltfWithBin = 1 - A text .gltf plus a sibling .bin holding the buffer; the JSON names the .bin by a relative URI.
  • GltfEmbedded = 2 - One text .gltf carrying its buffer inline as a base64 data: URI.