mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 20:08:53 -05:00
change (1.0, constraint): Change max range of weights to 1.0
現状、仕様ではweightの最大値は1.0となっているので、UI上もこれに従うのが良いと思います。
This commit is contained in:
@@ -16,7 +16,7 @@ namespace UniVRM10
|
||||
public Transform Source = default;
|
||||
|
||||
[SerializeField]
|
||||
[Range(0, 10.0f)]
|
||||
[Range(0, 1.0f)]
|
||||
public float Weight = 1.0f;
|
||||
|
||||
[SerializeField]
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace UniVRM10
|
||||
public Transform Source = default;
|
||||
|
||||
[SerializeField]
|
||||
[Range(0, 10.0f)]
|
||||
[Range(0, 1.0f)]
|
||||
public float Weight = 1.0f;
|
||||
|
||||
[SerializeField]
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace UniVRM10
|
||||
public Transform Source = default;
|
||||
|
||||
[SerializeField]
|
||||
[Range(0, 10.0f)]
|
||||
[Range(0, 1.0f)]
|
||||
public float Weight = 1.0f;
|
||||
|
||||
Quaternion _srcRestLocalQuatInverse;
|
||||
|
||||
Reference in New Issue
Block a user