mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 06:19:47 -05:00
18 lines
551 B
C#
18 lines
551 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace VRM.SpringBone
|
|
{
|
|
readonly struct SceneInfo
|
|
{
|
|
public readonly IReadOnlyList<Transform> RootBones;
|
|
public readonly Transform Center;
|
|
public readonly VRMSpringBoneColliderGroup[] ColliderGroups;
|
|
|
|
public SceneInfo(
|
|
IReadOnlyList<Transform> rootBones,
|
|
Transform center,
|
|
VRMSpringBoneColliderGroup[] colliderGroups) =>
|
|
(RootBones, Center, ColliderGroups) = (rootBones, center, colliderGroups);
|
|
}
|
|
} |