-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2457 from ousttrue/fix/springbone0x_runtime_inter…
…face [0.x] IVrm0XSpringBoneRuntime の実装
- Loading branch information
Showing
12 changed files
with
2,740 additions
and
303 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,11 +1,34 @@ | ||
using System.Threading.Tasks; | ||
using UniGLTF; | ||
using UniGLTF.SpringBoneJobs.Blittables; | ||
using UnityEngine; | ||
|
||
namespace VRM | ||
{ | ||
public interface IVrm0XSpringBoneRuntime | ||
{ | ||
public Task InitializeAsync(GameObject vrm, IAwaitCaller awaitCaller); | ||
|
||
/// <summary> | ||
/// SpringBone の構成変更を反映して再構築する。 | ||
/// </summary> | ||
public void ReconstructSpringBone(); | ||
|
||
/// <summary> | ||
/// initialTransform 状態に復帰。verlet の速度 も 0 に。 | ||
/// </summary> | ||
public void RestoreInitialTransform(); | ||
|
||
/// <summary> | ||
/// Joint レベルの可変情報をセットする | ||
/// stiffness, | ||
/// </summary> | ||
public void SetJointLevel(Transform joint, BlittableJointMutable jointSettings); | ||
|
||
/// <summary> | ||
/// Model レベルの可変情報をセットする | ||
/// 風, pause, scaling | ||
/// </summary> | ||
public void SetModelLevel(Transform modelRoot, BlittableModelLevel modelSettings); | ||
} | ||
} |
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
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
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
Oops, something went wrong.