public Node(glTFLoader.Schema.Node parent) { foreach (PropertyInfo property in parent.GetType().GetProperties()) { var parentProperty = property.GetValue(parent); if (parentProperty != null) { property.SetValue(this, parentProperty); } } }