copy(from:to:in:)
Copies the spec at srcPath in this layer (and its children) to dstPath.
Declaration
@discardableResult func copy(from srcPath: USDLayer.Path, to dstPath: USDLayer.Path, in dstLayer: USDLayer? = nil) -> BoolParameters
- srcPath:
The path of the source spec to copy.
- dstPath:
The destination path.
- dstLayer:
The destination layer. Pass
nilto copy within this layer.
Return Value
true on success.