public TextureCoordinate Clone() { TextureCoordinate textureCoordinate = new TextureCoordinate(); textureCoordinate.Point = Point; return(textureCoordinate); }
public IndexedFaceSet Clone() { IndexedFaceSet clone = new IndexedFaceSet(); clone.Index = Index; clone.CoordIndex = CoordIndex; clone.TextCoordIndex = TextCoordIndex; clone.Normal = Normal == null ? null : Normal.Clone(); clone.Coordinate = Coordinate == null ? null : Coordinate.Clone(); clone.TextureCoordinate = TextureCoordinate == null ? null : TextureCoordinate.Clone(); foreach (var text2d in MultiTextureCoordinate) { clone.MultiTextureCoordinate.Add(text2d.Clone()); } return(clone); }