void IAddChild.AddChild(object child) { if (child is Transform == false) { throw new ArgumentException(string.Format("must be of type {0}", this.GetType())); } if (_children == null) { _children = new TransformCollection(); } _children.Add((Transform)child); }
public TransformGroup(TransformCollection transforms) { _children = transforms; }
public TransformGroup(TransformCollection transforms) { _children = transforms; }