Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VRM-animation] VrmAnimationImporter を実装 #2089

Merged
merged 3 commits into from
Jun 22, 2023

Conversation

ousttrue
Copy link
Contributor

VrmAnimation を import するユーザーコードは以下のような感じなります

   public static async Task<VrmAnimation> LoadVrmAnimationFromPathAsync(string path)
        {
            using GltfData data = new AutoGltfFileParser(path).Parse();
            using var loader = new VrmAnimationImporter(data);
            var instance = await loader.LoadAsync(new ImmediateCaller());
            return new VrmAnimation(instance.GetComponent<VrmAnimationInstance>());
        }

@ousttrue ousttrue requested a review from Santarh June 14, 2023 08:02
@ousttrue ousttrue added this to the v0.113 milestone Jun 14, 2023
}
}

public class VrmAnimation : IMotion
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

主にこのクラスが本体側の VrmAnimationImporter と VrmAnimationInstance に整理されました

@ousttrue ousttrue merged commit 2950085 into vrm-c:master Jun 22, 2023
1 check failed
@ousttrue ousttrue mentioned this pull request Jul 5, 2023
2 tasks
@ousttrue ousttrue deleted the fix/impl_vrm_animation branch January 24, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants