Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ousttrue committed Sep 20, 2024
1 parent c2e203b commit b4ef699
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions Assets/VRM10/Runtime/IO/IVrm10SpringBoneRuntime.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UniGLTF;
using UniGLTF.Utils;
using UnityEngine;

namespace UniVRM10
Expand All @@ -13,9 +9,6 @@ public interface IVrm10SpringBoneRuntime : IDisposable

/// <summary>
/// 主に singleton のバッチング更新。
///
/// 再構築。initialTransform を使って再構築?
/// Joint の増減、T-Pose の変更などある?
/// </summary>
public void ReconstructSpringBone();

Expand All @@ -24,12 +17,24 @@ public interface IVrm10SpringBoneRuntime : IDisposable
/// </summary>
public void RestoreInitialTransform();

/// <summary>
/// deltaTime のカスタマイズポイント。通常は Time.dletaTime
/// </summary>
public float DeltaTime { get; }

/// <summary>
/// 風などの追加の外力を設定する
/// </summary>
public Vector3 ExternalForce { get; set; }

/// <summary>
/// SpringBone を一時停止する
/// </summary>
public bool IsSpringBoneEnabled { get; set; }

public float DeltaTime { get; }

/// <summary>
/// 毎フレーム Vrm10Runtime.Process から呼ばれる。
/// </summary>
public void Process();
}
}

0 comments on commit b4ef699

Please sign in to comment.