replaceItems(in:at:count:with:)
Replaces count items in operation’s slot starting at index with newItems.
Declaration
mutating func replaceItems(in operation: USDLayer.ListOperationType, at index: Int, count: Int, with newItems: [T]) throwsParameters
- operation:
The slot to update.
- index:
The starting index of the range to replace.
- count:
The number of items to replace.
- newItems:
The replacement items.