mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-06 01:35:29 -05:00
18 lines
744 B
C#
18 lines
744 B
C#
using UnityEngine;
|
|
|
|
namespace VRM.SpringBone
|
|
{
|
|
readonly struct SpringBoneSettings
|
|
{
|
|
public readonly float StiffnessForce;
|
|
public readonly float DragForce;
|
|
public readonly Vector3 GravityDir;
|
|
public readonly float GravityPower;
|
|
public readonly float HitRadius;
|
|
public readonly bool UseRuntimeScalingSupport;
|
|
|
|
public SpringBoneSettings(float stiffnessForce, float dragForce, Vector3 gravityDir, float gravityPower, float hitRadius, bool useRuntimeScalingSupport) =>
|
|
(StiffnessForce, DragForce, GravityDir, GravityPower, HitRadius, UseRuntimeScalingSupport)
|
|
= (stiffnessForce, dragForce, gravityDir, gravityPower, hitRadius, useRuntimeScalingSupport);
|
|
}
|
|
} |