using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace SC.XR.Unity.Module_InputSystem.InputDeviceHand { public class InputDataHand: InputDataBase { public InputDeviceHandPart inputDeviceHandPart; public InputDataHand(InputDeviceHandPart inputDeviceHandPart) : base(inputDeviceHandPart) { this.inputDeviceHandPart = inputDeviceHandPart; } public class HandsInfo { /// /// 手原始数据 /// public float[] originDataMode = new float[256 + 256 + 1024 + 778 * 3 * 4]; public float[] originDataPose = new float[128]; public int handAmount = 0; /// /// 数据里是否存在双手 /// public bool handLeftFind = false; public bool handRightFind = false; /// /// 数据里左右手的index /// public int handLeftIndex = 0; public int handRighIndex = 0; /// /// 左右手数据存储结构 /// public handInfo handLeft; public handInfo handRight; } public bool isFound = false;//是否有数据 public handInfo handInfo; } }