Skip to main content

write_gltf

Function write_gltf 

Source
pub fn write_gltf<W: Write>(
    w: &mut W,
    sc: &Scene,
    o: &Options3D,
    glb: bool,
) -> Result<()>
Expand description

glTF 2.0(m)。glb なら 1 つのバイナリ、そうでなければ JSON にバッファを base64 で埋め込む