Appearance
KBE3D / KBCore / Cesium / computePickingDrawingBufferRectangle
函数: computePickingDrawingBufferRectangle()
computePickingDrawingBufferRectangle(
drawingBufferHeight:number,position:Cartesian2,width:number|undefined,height:number|undefined,result:BoundingRectangle):BoundingRectangle
Compute the rectangle that describes the part of the drawing buffer that is relevant for picking.
参数
drawingBufferHeight
number
The height of the drawing buffer
position
The position inside the drawing buffer
width
The width of the rectangle, assumed to be an odd integer number, default : 3.0
number | undefined
height
The height of the rectangle. If unspecified, height will default to the value of <code>width</code>
number | undefined
result
The result rectangle
返回
The result rectangle
