private Matrix4 GetGlobalTransformationMatrix() { if (parent == null) { return this.localTransformationMatrix; } else { return this.localTransformationMatrix * parent.GetGlobalTransformationMatrix(); } } }