WriteContext.WriteTextSchema2

WriteTextSchema2(string, GlbData)

Writes model to this context using the glTF json container.

public void WriteTextSchema2(string baseName, GlbData model)
ParameterTypeDescription
baseNameStringThe base name to use for asset files, without extension.
modelGlbDataThe GlbImage to write.

Remarks

If the model has associated resources like binary assets and textures, these additional resources will be also written as associated files using the pattern: “baseName.{Number}.bin|png|jpg|dds”

See Also


WriteTextSchema2(Stream, Stream, string, GlbData)

Writes model to this context using the glTF json container.

public void WriteTextSchema2(Stream stream, Stream binStream, string gltfFileName, GlbData model)
ParameterDescription
baseNameThe base name to use for asset files, without extension.
modelThe GlbImage to write.

Remarks

If the model has associated resources like binary assets and textures, these additional resources will be also written as associated files using the pattern: “baseName.{Number}.bin|png|jpg|dds”

See Also