clone method

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

Return a new camera with the same properties as this one.

Implementation

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