예제 #1
0
 public void SetCurveSnapshot(float time, TransformTargetSnapshot snapshot, bool makeDirty = true)
 {
     x.SetKeySnapshot(time, snapshot.x);
     y.SetKeySnapshot(time, snapshot.y);
     z.SetKeySnapshot(time, snapshot.z);
     rotX.SetKeySnapshot(time, snapshot.rotX);
     rotY.SetKeySnapshot(time, snapshot.rotY);
     rotZ.SetKeySnapshot(time, snapshot.rotZ);
     rotW.SetKeySnapshot(time, snapshot.rotW);
     if (makeDirty)
     {
         dirty = true;
     }
 }