static public Vector3 GetExtents(this MeshFilter item) { return(item.GetSize() * 0.5f); }
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 SetHeight(this MeshFilter item, float height) { item.SetSize(item.GetSize().GetWithY(height)); }
static public void SetWidth(this MeshFilter item, float width) { item.SetSize(item.GetSize().GetWithX(width)); }
static public Bounds GetBounds(this MeshFilter item) { return(new Bounds(item.GetSpacarPosition(), item.GetSize())); }