forked from vrm-c/UniVRM
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vrm-c#2463 でコンストラクターで Singleton 確保したのが仇に。
- Loading branch information
Showing
4 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10NopSpringboneRuntime.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using System.Threading.Tasks; | ||
using UniGLTF; | ||
using UniGLTF.SpringBoneJobs.Blittables; | ||
using UnityEngine; | ||
|
||
namespace UniVRM10 | ||
{ | ||
/// <summary> | ||
/// SpcriptedImporter 経由の import 向け。 | ||
/// NativeArray の確保や DontDestroyOnLoad を回避。 | ||
/// </summary> | ||
public class Vrm10NopSpringboneRuntime : IVrm10SpringBoneRuntime | ||
{ | ||
public void Dispose() | ||
{ | ||
} | ||
|
||
public Task InitializeAsync(Vrm10Instance instance, IAwaitCaller awaitCaller) | ||
{ | ||
return Task.CompletedTask; | ||
} | ||
|
||
public void Process() | ||
{ | ||
} | ||
|
||
public bool ReconstructSpringBone() | ||
{ | ||
return false; | ||
} | ||
|
||
public void RestoreInitialTransform() | ||
{ | ||
} | ||
|
||
public void SetJointLevel(Transform joint, BlittableJointMutable jointSettings) | ||
{ | ||
} | ||
|
||
public void SetModelLevel(Transform modelRoot, BlittableModelLevel modelSettings) | ||
{ | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10NopSpringboneRuntime.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,6 +230,7 @@ QualitySettings: | |
PSM: 5 | ||
PSP2: 2 | ||
Samsung TV: 2 | ||
Server: 0 | ||
Standalone: 5 | ||
Switch: 5 | ||
Tizen: 2 | ||
|