public void SetJXBAngle(JXBAngleData data) { if (sceneObject.jxbJoints.Count ==5) { sceneObject.jxbJoints[0].localEulerAngles = new Vector3(0, data.joint1_YAxis_Angle, 0); sceneObject.jxbJoints[1].localEulerAngles = new Vector3(0, 0, data.joint2_ZAxis_Angle); sceneObject.jxbJoints[2].localEulerAngles = new Vector3(0, 0, data.joint3_ZAxis_Angle); sceneObject.jxbJoints[3].localEulerAngles = new Vector3(data.joint4_XAxis_Angle, 0, 0); sceneObject.jxbJoints[4].localEulerAngles = new Vector3(0, 0, data.joint5_ZAxis_Angle); } }
public ReceiveInitData() { goodInfo = new GoodData(); jxbAngleInfo = new JXBAngleData(); simulateInfo = new SimulateData(); }