Пример #1
0
 /// <summary>
 /// Deserializes the transform.
 /// </summary>
 /// <param name="input">Input to read from</param>
 public void Read(ISavableReader input)
 {
     _scale       = input.ReadVector3();
     _rotation    = input.ReadQuaternion();
     _translation = input.ReadVector3();
     //Cache the matrix
     Matrix m = this.Matrix;
 }