|
@@ -278,4 +278,34 @@ public class PQEditVisionTrackMaterialsModel: PQEditBaseModel {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ public override func copy(with zone: NSZone? = nil) -> Any {
|
|
|
+ let temp = PQEditVisionTrackMaterialsModel.init()
|
|
|
+
|
|
|
+ temp.width = width
|
|
|
+
|
|
|
+ temp.height = height
|
|
|
+ temp.itemWidth = itemWidth
|
|
|
+ temp.itemHeight = itemHeight
|
|
|
+ temp.sourceType = sourceType
|
|
|
+ temp.type = type
|
|
|
+ temp.canvasFillType = canvasFillType
|
|
|
+ temp.materialType = materialType
|
|
|
+ temp.duration = duration
|
|
|
+ temp.aptDuration = aptDuration
|
|
|
+ temp.id = id
|
|
|
+ temp.materialLayer = materialLayer
|
|
|
+ temp.materialEffect = materialEffect
|
|
|
+ temp.timelineIn = timelineIn
|
|
|
+ temp.timelineOut = timelineOut
|
|
|
+ temp.model_in = model_in
|
|
|
+ temp.out = out
|
|
|
+ temp.speedRate = speedRate
|
|
|
+ temp.volumeGain = volumeGain
|
|
|
+ temp.materialUrl = materialUrl
|
|
|
+ temp.netResUrl = netResUrl
|
|
|
+ temp.netResCoverImageURL = netResCoverImageURL
|
|
|
+ temp.locationPath = locationPath
|
|
|
+
|
|
|
+ return temp
|
|
|
+ }
|
|
|
}
|