UniVRM is a gltf-based VRM format implementation for Unity. English is here https://vrm.dev/en/ . 日本語 はこちら https://vrm.dev/
Go to file
Takayuki Matsuoka 935afcb80d Add new pseudo method NextFrameIfTimedOut to RuntimeOnlyAwaitCaller
This change adds (pseudo) method RuntimeOnlyAwaitCaller.NextFrameIfTimedOut()
which invokes NextFrame() if given time is elapsed.  Otherwise, it does nothing.

We'll be able to utilize this (pseudo) method to ease possible cause of spikes.

For example:

----
public class VRMImporterContext : ImporterContext {
  protected override async Task OnLoadHierarchy(IAwaitCaller awaitCaller, ...) {
    ...
    var blendShapeList = VRM.blendShapeMaster.blendShapeGroups;
    if (blendShapeList != null && blendShapeList.Count > 0) {
      foreach (var x in blendShapeList) {
        await awaitCaller.NextFrameIfTimeout();
        BlendShapeAvatar.Clips.Add(await LoadBlendShapeBind(awaitCaller, x, transformMeshTable));
      }
    }
    ...
  }
}
----

Note that this change doesn't add NextFrameIfTimeout() to IAwaitCaller to avoid
breaking change.  This limitation introduces extra (maybe unnecessarily) complexity.
2022-09-07 17:51:10 +09:00
.github release note v0.93.0 2022-01-07 17:01:15 +09:00
Assets Add new pseudo method NextFrameIfTimedOut to RuntimeOnlyAwaitCaller 2022-09-07 17:51:10 +09:00
docs UniVRM-0.102.0 2022-07-20 13:23:32 +09:00
glTF@838b607505 add glTF & VRM spec schema repository as submodule. 2021-02-18 20:04:14 +09:00
Packages 作業バージョンを Unity-2020.3.34f1 に更新 2022-06-02 19:18:30 +09:00
ProjectSettings 作業バージョンを Unity-2020.3.34f1 に更新 2022-06-02 19:18:30 +09:00
Tests/Models/Alicia_vrm-0.51 Update AliciaSolid to 0.51 2019-09-04 14:06:24 +09:00
vrm-specification@b5793b4ca2 update JsonSchema 2022-06-24 17:23:47 +09:00
.gitattributes Add .gitattributes to use LF 2018-12-28 23:40:21 +09:00
.gitignore release note v0.93.0 2022-01-07 17:01:15 +09:00
.gitmodules Add MToon submodule in new directory. 2021-04-16 19:56:09 +09:00
doc.md sphinx エラー修正 2021-10-25 14:48:24 +09:00
LICENSE.txt License To VRM Consortium 2020-05-21 15:53:19 +09:00
NUnit3To2FormatConverter.py JenkinsHelper 2019-01-09 17:01:27 +09:00
README.md Update README.md 2021-09-27 17:49:38 +09:00
requirements.txt release note v0.93.0 2022-01-07 17:01:15 +09:00
retag.sh Release v0.91.0 2021-12-10 15:09:41 +09:00
right_latest.jpg update README.ja.md 2021-04-06 13:02:36 +09:00

UniVRM

UniVRM is unity package for Import and Export VRM Format

Download

Manual

API Document

License