CullComponent<T extends SashimiOwner<SashimiObject> > constructor
CullComponent<T extends SashimiOwner<SashimiObject> > ({
- 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;