configure static method
void
configure({
- bool? enabled,
- DVSceneRenderer? renderer()?,
- DVSceneAssetPolicy? policy,
- Map<
DVSceneAssetSource, DVSceneAssetFetch> ? fetchers,
Replaces the parts given.
Implementation
static void configure({
bool? enabled,
DVSceneRenderer? Function()? renderer,
DVSceneAssetPolicy? policy,
Map<DVSceneAssetSource, DVSceneAssetFetch>? fetchers,
}) {
if (enabled != null) _enabled = enabled;
if (renderer != null) _renderer = renderer;
if (policy != null) _policy = policy;
if (fetchers != null) {
_fetchers = Map<DVSceneAssetSource, DVSceneAssetFetch>.of(fetchers);
}
}