From b4ef69957babdf7265e03cb41785cdb4d88e2d32 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 20 Sep 2024 17:08:28 +0900 Subject: [PATCH] comment --- .../Runtime/IO/IVrm10SpringBoneRuntime.cs | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/Assets/VRM10/Runtime/IO/IVrm10SpringBoneRuntime.cs b/Assets/VRM10/Runtime/IO/IVrm10SpringBoneRuntime.cs index e755f94422..e514823ce3 100644 --- a/Assets/VRM10/Runtime/IO/IVrm10SpringBoneRuntime.cs +++ b/Assets/VRM10/Runtime/IO/IVrm10SpringBoneRuntime.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using UniGLTF; -using UniGLTF.Utils; using UnityEngine; namespace UniVRM10 @@ -13,9 +9,6 @@ public interface IVrm10SpringBoneRuntime : IDisposable /// /// 主に singleton のバッチング更新。 - /// - /// 再構築。initialTransform を使って再構築? - /// Joint の増減、T-Pose の変更などある? /// public void ReconstructSpringBone(); @@ -24,12 +17,24 @@ public interface IVrm10SpringBoneRuntime : IDisposable /// public void RestoreInitialTransform(); + /// + /// deltaTime のカスタマイズポイント。通常は Time.dletaTime + /// + public float DeltaTime { get; } + + /// + /// 風などの追加の外力を設定する + /// public Vector3 ExternalForce { get; set; } + /// + /// SpringBone を一時停止する + /// public bool IsSpringBoneEnabled { get; set; } - public float DeltaTime { get; } - + /// + /// 毎フレーム Vrm10Runtime.Process から呼ばれる。 + /// public void Process(); } } \ No newline at end of file