static public void SetDimension(this MeshFilter item, Axis axis, float length) { item.SetSize(item.GetSize().GetWith(axis, length)); }
static public void SetDepth(this MeshFilter item, float depth) { item.SetSize(item.GetSize().GetWithZ(depth)); }
static public void SetWidth(this MeshFilter item, float width) { item.SetSize(item.GetSize().GetWithX(width)); }
static public void SetHeight(this MeshFilter item, float height) { item.SetSize(item.GetSize().GetWithY(height)); }
//TODO: Make this work for arbitrary origin meshes static public void SetBounds(this MeshFilter item, Bounds bounds) { item.SetSize(bounds.size); item.SetSpacarPosition(bounds.center); }