MapContextSceneLoadCacheOptions class
Options for scene load cache.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
Constructors
Properties
- capacity ↔ int
-
Capacity of scene load cache as number of entries.
An entry represents the cached data for a loaded scene.
At most MapContextSceneLoadCacheOptions.capacity entries would be preserved in the cache for the entire duration of MapContext
lifetime.
Default MapContextSceneLoadCacheOptions.capacity is set to 4.
A MapContextSceneLoadCacheOptions.capacity value less than 1 would disable the scene cache, freeing all existing entries from the cache.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- 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.