CullComponent<T extends SashimiOwner<SashimiObject>> constructor

CullComponent<T extends SashimiOwner<SashimiObject>>({
  1. bool cullingEnabled = false,
})

A component that culls its children based on whether they are inside the screen or not.

Implementation

CullComponent({
  bool cullingEnabled = false,
}) : _cullingEnabled = cullingEnabled;