The application's 3D configuration.
No renderer is configured by default, and that is the honest default:
until a Flutter GPU adapter is registered for the target, every scene
presents its poster and reports DV-3D-001 rather than pretending to
draw.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- enabled → bool
-
dartvel.scene3d.enabled.no setter -
fetchers
→ Map<
DVSceneAssetSource, DVSceneAssetFetch> -
Fetchers configured by the application, by source. A platform layer
adds its own defaults beneath these (bundle and file storage in
dartvel_flutter).
no setter
- policy → DVSceneAssetPolicy
-
no setter
Static Methods
-
configure(
{bool? enabled, DVSceneRenderer? renderer()?, DVSceneAssetPolicy? policy, Map< DVSceneAssetSource, DVSceneAssetFetch> ? fetchers}) → void - Replaces the parts given.
-
createLoader(
{Map< DVSceneAssetSource, DVSceneAssetFetch> defaults = const <DVSceneAssetSource, DVSceneAssetFetch>{}}) → DVSceneAssetLoader -
A loader under the configured policy, with
defaultsbeneath the configured fetchers. -
createRenderer(
) → DVSceneRenderer? - A renderer for one scene, or null when this target has none. Each scene owns and disposes the renderer it is given.
-
reset(
) → void - Back to no renderer, the default policy, no fetchers, enabled.