mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-03-29 05:45:01 -05:00
15 lines
376 B
C#
15 lines
376 B
C#
using VRMShaders;
|
|
|
|
namespace VRM
|
|
{
|
|
public static class VRMImporterContextExtensions
|
|
{
|
|
public static VRMMetaObject ReadMeta(this VRMImporterContext context, bool createThumbnail = false)
|
|
{
|
|
var task = context.ReadMetaAsync(new ImmediateCaller(), createThumbnail);
|
|
task.Wait();
|
|
return task.Result;
|
|
}
|
|
}
|
|
}
|