mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-13 22:09:53 -05:00
21 lines
597 B
C#
21 lines
597 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UniGLTF.SpringBoneJobs.Blittables
|
|
{
|
|
/// <summary>
|
|
/// Reconstruct に対して Immutable。
|
|
/// Jointの増減、初期姿勢の変更など構成の変更は Reconstruct が必要。
|
|
/// 変わりにくいスコープ。
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct BlittableJointImmutable
|
|
{
|
|
public int parentTransformIndex;
|
|
public int headTransformIndex;
|
|
public int tailTransformIndex;
|
|
public float length;
|
|
public Quaternion localRotation;
|
|
public Vector3 boneAxis;
|
|
}
|
|
} |