flywave-mapview.mapviewatmosphere
Home > @flywave/flywave-mapview > MapViewAtmosphere
MapViewAtmosphere class
Class that provides MapView's atmospheric scattering effect.
Signature:
export declare class MapViewAtmosphere
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates and adds Currently works only with globe projection. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | Returns the current atmosphere status, enabled or disabled. | ||
| string | User data name attribute assigned to created mesh. | |
| THREE.Mesh | undefined | ||
| THREE.Vector3 | ||
| string | User data name attribute assigned to created mesh. | |
| THREE.Mesh | undefined |
Methods
Method | Modifiers | Description |
|---|---|---|
Disposes allocated resources. | ||
| Check if map anchors have already atmosphere effect added. | |
Sets the atmosphere depending on the instance provided. This function is called when a theme is loaded. Atmosphere is added only if the theme contains a atmosphere definition with a: - | ||
更新光照方向 |