clone method

  1. @override
Mesh clone([
  1. bool? recursive = true
])
override

Returns a clone of this name object and its descendants.

Implementation

@override
Mesh clone([bool? recursive = true]) {
  return Mesh(geometry!.clone(), material?.clone()).copy(this, recursive);
}