Beispiel #1
0
        public odfVertex Clone()
        {
            odfVertex newVert = new odfVertex();

            newVert.Position    = Position;
            newVert.Weights     = (float[])Weights.Clone();
            newVert.Normal      = Normal;
            newVert.BoneIndices = (byte[])BoneIndices.Clone();
            newVert.UV          = UV;
            return(newVert);
        }
Beispiel #2
0
        public xxVertex Clone()
        {
            xxVertex vertex = InitClone();

            vertex.Index       = Index;
            vertex.Position    = Position;
            vertex.Weights3    = (float[])Weights3.Clone();
            vertex.BoneIndices = (byte[])BoneIndices.Clone();
            vertex.Normal      = Normal;
            vertex.UV          = (float[])UV.Clone();
            vertex.Unknown1    = Unknown1.CloneIfNotNull();
            return(vertex);
        }