getCameraFrustum method

  1. @override
Future<Frustum> getCameraFrustum()
override

Get the camera's culling frustum in world space. Returns a (vector_math) Frustum instance where plane0-plane6 define the left, right, bottom, top, far and near planes respectively. See Camera.h and (filament) Frustum.h for more details.

Implementation

@override
Future<Frustum> getCameraFrustum() async {
  throw UnimplementedError();
  // final JSObject jsFrustum = await _shim.getCameraFrustum().toDart;
  // // Assuming Frustum is a class that can be constructed from the JSObject
  // return Frustum._fromJSObject(jsFrustum).toDart;
}