Пример #1
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (SBufferWaypoints)base.Copy(context);

            var.guid = (CGUID)guid.Copy(context);
            var.componentsMapping = (CInt32)componentsMapping.Copy(context);

            return(var);
        }
Пример #2
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CSwarmCellMap)base.Copy(context);

            var.data           = (CByteArray)data.Copy(context);
            var.cornerPosition = (CVector3D)cornerPosition.Copy(context);
            var.dataSizeX      = (CInt32)dataSizeX.Copy(context);
            var.dataSizeY      = (CInt32)dataSizeY.Copy(context);
            var.dataSizeZ      = (CInt32)dataSizeZ.Copy(context);
            var.dataSize       = (CInt32)dataSize.Copy(context);
            var.sizeInKbytes   = (CFloat)sizeInKbytes.Copy(context);
            return(var);
        }
Пример #3
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CCubeTexture)base.Copy(context);

            var.texturecachekey = (CUInt32)texturecachekey.Copy(context);
            var.residentmip     = (CUInt16)residentmip.Copy(context);
            var.encodedformat   = (CUInt16)encodedformat.Copy(context);
            var.edge            = (CUInt16)edge.Copy(context);
            var.mipmapscount    = (CUInt16)mipmapscount.Copy(context);

            var.filesize = (CUInt32)filesize.Copy(context);
            var.ffffffff = (CInt32)ffffffff.Copy(context);

            var.rawfile = (CBytes)rawfile.Copy(context);
            return(var);
        }
Пример #4
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CTextureArray)base.Copy(context);

            var.texturecachekey = (CUInt32)texturecachekey.Copy(context);
            var.encodedformat   = (CUInt16)encodedformat.Copy(context);
            var.width           = (CUInt16)width.Copy(context);
            var.height          = (CUInt16)height.Copy(context);
            var.slices          = (CUInt16)slices.Copy(context);
            var.mipmapscount    = (CUInt16)mipmapscount.Copy(context);
            var.residentmip     = (CUInt16)residentmip.Copy(context);

            var.filesize = (CUInt32)filesize.Copy(context);
            var.ffffffff = (CInt32)ffffffff.Copy(context);

            var.rawfile = (CBytes)rawfile.Copy(context);
            return(var);
        }