Appearance
KBE3D / KBCore / Cesium / ImageryLayer / ConstructorOptions
接口: ConstructorOptions
Initialization options for the ImageryLayer constructor.
属性
rectangle?
optionalrectangle:Rectangle
The rectangle of the layer. This rectangle can limit the visible portion of the imagery provider.
alpha?
optionalalpha:number| (...params:any[]) =>any
The alpha blending value of this layer, from 0.0 to 1.0. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the alpha is required, and it is expected to return the alpha value to use for the tile.
nightAlpha?
optionalnightAlpha:number| (...params:any[]) =>any
The alpha blending value of this layer on the night side of the globe, from 0.0 to 1.0. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the alpha is required, and it is expected to return the alpha value to use for the tile. This only takes effect when <code>enableLighting</code> is <code>true</code>.
dayAlpha?
optionaldayAlpha:number| (...params:any[]) =>any
The alpha blending value of this layer on the day side of the globe, from 0.0 to 1.0. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the alpha is required, and it is expected to return the alpha value to use for the tile. This only takes effect when <code>enableLighting</code> is <code>true</code>.
brightness?
optionalbrightness:number| (...params:any[]) =>any
The brightness of this layer. 1.0 uses the unmodified imagery color. Less than 1.0 makes the imagery darker while greater than 1.0 makes it brighter. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the brightness is required, and it is expected to return the brightness value to use for the tile. The function is executed for every frame and for every tile, so it must be fast.
contrast?
optionalcontrast:number| (...params:any[]) =>any
The contrast of this layer. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the contrast while greater than 1.0 increases it. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the contrast is required, and it is expected to return the contrast value to use for the tile. The function is executed for every frame and for every tile, so it must be fast.
hue?
optionalhue:number| (...params:any[]) =>any
The hue of this layer. 0.0 uses the unmodified imagery color. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the hue is required, and it is expected to return the hue value to use for the tile. The function is executed for every frame and for every tile, so it must be fast.
saturation?
optionalsaturation:number| (...params:any[]) =>any
The saturation of this layer. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the saturation while greater than 1.0 increases it. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the saturation is required, and it is expected to return the saturation value to use for the tile. The function is executed for every frame and for every tile, so it must be fast.
gamma?
optionalgamma:number| (...params:any[]) =>any
The gamma correction to apply to this layer. 1.0 uses the unmodified imagery color. This can either be a simple number or a function with the signature <code>function(frameState, layer, x, y, level)</code>. The function is passed the current frame state, this layer, and the x, y, and level coordinates of the imagery tile for which the gamma is required, and it is expected to return the gamma value to use for the tile. The function is executed for every frame and for every tile, so it must be fast.
splitDirection?
optionalsplitDirection:SplitDirection| (...params:any[]) =>any
The SplitDirection split to apply to this layer.
minificationFilter?
optionalminificationFilter:TextureMinificationFilter
The texture minification filter to apply to this layer. Possible values are <code>TextureMinificationFilter.LINEAR</code> and <code>TextureMinificationFilter.NEAREST</code>.
magnificationFilter?
optionalmagnificationFilter:TextureMagnificationFilter
The texture minification filter to apply to this layer. Possible values are <code>TextureMagnificationFilter.LINEAR</code> and <code>TextureMagnificationFilter.NEAREST</code>.
show?
optionalshow:boolean
True if the layer is shown; otherwise, false.
maximumAnisotropy?
optionalmaximumAnisotropy:number
The maximum anisotropy level to use for texture filtering. If this parameter is not specified, the maximum anisotropy supported by the WebGL stack will be used. Larger values make the imagery look better in horizon views.
minimumTerrainLevel?
optionalminimumTerrainLevel:number
The minimum terrain level-of-detail at which to show this imagery layer, or undefined to show it at all levels. Level zero is the least-detailed level.
maximumTerrainLevel?
optionalmaximumTerrainLevel:number
The maximum terrain level-of-detail at which to show this imagery layer, or undefined to show it at all levels. Level zero is the least-detailed level.
cutoutRectangle?
optionalcutoutRectangle:Rectangle
Cartographic rectangle for cutting out a portion of this ImageryLayer.
colorToAlpha?
optionalcolorToAlpha:Color
Color to be used as alpha.
colorToAlphaThreshold?
optionalcolorToAlphaThreshold:number
Threshold for color-to-alpha.
