/// <summary> /// Constructs a new anchor with the same index and relative position /// as the passed one and attaches it to the specified chunk. /// </summary> /// <param name="template">Anchor whose attributes to copy.</param> /// <param name="source">Chunk to attach the new anchor to.</param> internal Anchor3D(Anchor3D template, Chunk source) : base(template.Tag) { this.Index = template.Index; this.Source = source; this.RelativePosition = template.RelativePosition; }