godan
In my projects, I do a ton of work with VariantVectors and Variants in general. Something that comes up a lot is that I have say, a typed Vector:
Vector<Vector3> myPoints;
and I want to convert this to a VariantVector. The obvious way is:
VariantVector myVarVec;
int numPoints = myPoints.Size();
myVarVec.Resize(numPoints);
for(int i = 0; i < numPoints; i++){
myVarVec[i] = myPoints[i];
}
Is there a mem_copy I can do? A cast?