setViewFrustumCulling method

  1. @override
Future setViewFrustumCulling(
  1. bool enabled
)
override

Enables/disables frustum culling. Currently we don't expose a method for manipulating the camera projection/culling matrices so this is your only option to deal with unwanted near/far clipping.

Implementation

@override
Future setViewFrustumCulling(bool enabled) async {
  _module.ccall("set_view_frustum_culling", "void",
      ["void*".toJS, "bool".toJS].toJS, [_viewer!, enabled.toJS].toJS, null);
}