Contents

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) -> Bool

Parameters

  • srcPath:

    The path of the source spec to copy.

  • dstPath:

    The destination path.

  • dstLayer:

    The destination layer. Pass nil to copy within this layer.

Return Value

true on success.

See Also

Editing scene description