An EngineService that keeps what scenes use — models, material files,
maps — and lets go of what the scene in its engine's world no longer
uses when Engine.releaseUnused asks: Graphics3D is one.
- Implemented types
- Implementers
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
-
releaseUnused(
) → void - Lets go of what the engine's world no longer uses; whatever is used again later is read again.
-
start(
ServiceContext context) → Future< void> -
Starts the service, once: while the engine initializes (after its
world exists, before
initialize()completes) in the order the services were declared, or at once when added to an initialized engine. Throwing failsinitialize()with anEngineInitExceptionwhose stage isservice:<Type>.inherited -
stop(
) → Future< void> -
Stops the service, once: while the engine disposes, after its plugins
detach and before its world goes — services in the reverse of their
start order — or when it is removed. It must not touch the world after
this is called; the engine's
dispose()completes once everystop()has.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited