public SynthValues(InputValues values) { this.primaryPose = new Pose { position = new Vector3(values.primaryPose.position.x / 5, values.primaryPose.position.y / maxHeight, values.primaryPose.position.z / 5), eulerRotation = values.primaryPose.eulerRotation / 360 }; this.secondaryPose = new Pose { position = new Vector3(values.secondaryPose.position.x / 5, values.secondaryPose.position.y / maxHeight, values.secondaryPose.position.z / 5), eulerRotation = values.secondaryPose.eulerRotation / 360 }; this.inputs = values.inputs; }
public InputValues(Pose primaryPose, Pose secondaryPose, InputsRef inputs) { this.primaryPose = primaryPose; this.secondaryPose = secondaryPose; this.inputs = inputs; }
public InputValues(InputValues values) { this.primaryPose = values.primaryPose; this.secondaryPose = values.secondaryPose; this.inputs = values.inputs; }