Io - glTF
API reference — the glTF doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.
import { tessellationToGlb, tessellationToGltfZip } from '@huukhanhnguyen/io'Source: ./gltfScene. See all formats or the Guide.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
tessellationToGlb
function
tessellationToGlb(entities: Entity[], options?: GltfOptions): Uint8ArraytessellationToGltfZip
function
tessellationToGltfZip(entities: Entity[], options?: GltfOptions): Uint8ArrayvariantsFromMaterialOptions
function
variantsFromMaterialOptions(options: Array<{ name: string; material: string; } | { name: string; materials: Record<string, string>; }>, baseMaterial?: string): GltfMaterialVariant[]