Toolkit.UseImageWithFile

Toolkit.UseImageWithFile method

Creates or reuses an GlbImage with the file set by filePath

public static ImageGlb UseImageWithFile(this GlbData root, string filePath)
ParameterTypeDescription
rootGlbDataThe GlbImage root instance.
filePathStringA valid file path pointing to a valid image

Return Value

A GlbImage instance.

See Also