コード例 #1
0
        public override VMFValue Clone()
        {
            VMFVector3ArrayValue arr = new VMFVector3ArrayValue();

            arr.myInBracs = myInBracs;
            arr.Vectors   = new VMFVector3Value[Vectors.Length];
            for (int i = 0; i < Vectors.Length; ++i)
            {
                arr.Vectors[i] = (VMFVector3Value)Vectors[i].Clone();
            }
            return(arr);
        }
コード例 #2
0
 public override VMFValue Clone()
 {
     VMFVector3ArrayValue arr = new VMFVector3ArrayValue();
     arr.myInBracs = myInBracs;
     arr.Vectors = new VMFVector3Value[Vectors.Length];
     for (int i = 0; i < Vectors.Length; ++i)
         arr.Vectors[i] = (VMFVector3Value) Vectors[i].Clone();
     return arr;
 }