copy method

  1. @override
Camera copy(
  1. Object3D source, [
  2. bool? recursive
])
override

Implementation

@override
Camera copy(Object3D source, [bool? recursive]) {
  super.copy(source, recursive);

  Camera source1 = source as Camera;

  matrixWorldInverse.copy(source1.matrixWorldInverse);

  projectionMatrix.copy(source1.projectionMatrix);
  projectionMatrixInverse.copy(source1.projectionMatrixInverse);

  return this;
}