예제 #1
0
 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;
 }
예제 #2
0
 public InputValues(Pose primaryPose, Pose secondaryPose, InputsRef inputs)
 {
     this.primaryPose   = primaryPose;
     this.secondaryPose = secondaryPose;
     this.inputs        = inputs;
 }
예제 #3
0
 public InputValues(InputValues values)
 {
     this.primaryPose   = values.primaryPose;
     this.secondaryPose = values.secondaryPose;
     this.inputs        = values.inputs;
 }