dispose method

  1. @override
void dispose()
override

Implementation

@override
dispose() {
  lightPlane.geometry!.dispose();
  lightPlane.material.dispose();
  targetLine.geometry!.dispose();
  targetLine.material.dispose();
}