static Model FromFile(string file, Shader shader)

string file Name of the file to load! This gets prefixed with the StereoKit asset folder if no drive letter is specified in the path.
Shader shader The shader to use for the model’s materials! If null, this will automatically determine the best shader available to use.
RETURNS: Model A Model created from the file, or null if the file failed to load!

Loads a list of mesh and material subsets from a .obj, .stl, .ply (ASCII), .gltf, or .glb file.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!