GlbData.LoadGlbImage

GlbData.LoadGlbImage method

Reads a GlbImage instance from a path pointing to a GLB or a GLTF file

public static GlbData LoadGlbImage(string filePath, ReadSettings settings = null)
ParameterTypeDescription
filePathStringA valid file path.
settingsReadSettingsOptional settings.

Return Value

A GlbImage instance.

Remarks

settings can be either a plain ReadSettings instance, or a ReadContext, in which case, the context will be used to read the files from it.

See Also