Skip to content

KBE3D / KBCore / Cesium / DynamicEnvironmentMapManager / ConstructorOptions

接口: ConstructorOptions

Options for the DynamicEnvironmentMapManager constructor

属性

enabled?

optional enabled: boolean

If true, the environment map and related properties will continue to update.


mipmapLevels?

optional mipmapLevels: number

The maximum desired number of mipmap levels to generate for specular maps. More mipmap levels will produce a higher resolution specular reflection. The actual number of mipmaps used will be bounded by the cubemap texture size supported on the client machine. The number of mipmaps must be at least one for the environment map to be generated.


maximumSecondsDifference?

optional maximumSecondsDifference: number

The maximum amount of elapsed seconds before a new environment map is created.


maximumPositionEpsilon?

optional maximumPositionEpsilon: number

The maximum difference in position before a new environment map is created, in meters. Small differences in position will not visibly affect results.


atmosphereScatteringIntensity?

optional atmosphereScatteringIntensity: number

The intensity of the scattered light emitted from the atmosphere. This should be adjusted relative to the value of Scene.light intensity.


gamma?

optional gamma: number

The gamma correction to apply to the range of light emitted from the environment. 1.0 uses the unmodified emitted light color.


brightness?

optional brightness: number

The brightness of light emitted from the environment. 1.0 uses the unmodified emitted environment color. Less than 1.0 makes the light darker while greater than 1.0 makes it brighter.


saturation?

optional saturation: number

The saturation of the light emitted from the environment. 1.0 uses the unmodified emitted environment color. Less than 1.0 reduces the saturation while greater than 1.0 increases it.


groundColor?

optional groundColor: Color

Solid color used to represent the ground.


groundAlbedo?

optional groundAlbedo: number

The percentage of light reflected from the ground. The average earth albedo is 0.31.

KBE3D @3.0.0 Copyright © 2024-present KBE3D