mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-03 08:11:14 -05:00
22 lines
622 B
C#
22 lines
622 B
C#
using System;
|
|
using UniGLTF.Utils;
|
|
using UnityEngine;
|
|
|
|
namespace UniVRM10
|
|
{
|
|
[DisallowMultipleComponent]
|
|
public class Vrm10BoneTransformExpression : MonoBehaviour
|
|
{
|
|
[Serializable]
|
|
public class BoneTransformExpression
|
|
{
|
|
public ExpressionPreset Preset = ExpressionPreset.custom;
|
|
public string Name = "custom";
|
|
public ExpressionKey ExpressionKey => new(Preset, Name);
|
|
public Quaternion Rotation = Quaternion.identity;
|
|
public Vector3 Translation = Vector3.zero;
|
|
}
|
|
|
|
public BoneTransformExpression Expression;
|
|
}
|
|
} |