Appearance
KBE3D / KBCore / Cesium / Billboard / ConstructorOptions
接口: ConstructorOptions
Initialization options for the first param of Billboard constructor
属性
position
position:
Cartesian3
The cartesian position of the billboard.
id?
optionalid:any
A user-defined object to return when the billboard is picked with Scene#pick.
show?
optionalshow:boolean
Determines if this billboard will be shown.
image?
optionalimage:string|HTMLCanvasElement|HTMLImageElement
A loaded HTMLImageElement, ImageData, or a url to an image to use for the billboard.
scale?
optionalscale:number
A number specifying the uniform scale that is multiplied with the billboard's image size in pixels.
pixelOffset?
optionalpixelOffset:Cartesian2
A Cartesian2 Specifying the pixel offset in screen space from the origin of this billboard.
eyeOffset?
optionaleyeOffset:Cartesian3
A Cartesian3 Specifying the 3D Cartesian offset applied to this billboard in eye coordinates.
horizontalOrigin?
optionalhorizontalOrigin:HorizontalOrigin
A HorizontalOrigin Specifying the horizontal origin of this billboard.
verticalOrigin?
optionalverticalOrigin:VerticalOrigin
A VerticalOrigin Specifying the vertical origin of this billboard.
heightReference?
optionalheightReference:HeightReference
A HeightReference Specifying the height reference of this billboard.
color?
optionalcolor:Color
A Color Specifying the color that is multiplied with the billboard's texture.
rotation?
optionalrotation:number
A number specifying the rotation angle in radians.
alignedAxis?
optionalalignedAxis:Cartesian3
A Cartesian3 Specifying the aligned axis in world space.
sizeInMeters?
optionalsizeInMeters:boolean
A boolean specifying if the billboard size is in meters or pixels.
width?
optionalwidth:number
A number specifying the width of the billboard. If undefined, the image width will be used.
height?
optionalheight:number
A number specifying the height of the billboard. If undefined, the image height will be used.
scaleByDistance?
optionalscaleByDistance:NearFarScalar
A NearFarScalar Specifying near and far scaling properties of a Billboard based on the billboard's distance from the camera.
translucencyByDistance?
optionaltranslucencyByDistance:NearFarScalar
A NearFarScalar Specifying near and far translucency properties of a Billboard based on the billboard's distance from the camera.
pixelOffsetScaleByDistance?
optionalpixelOffsetScaleByDistance:NearFarScalar
A NearFarScalar Specifying near and far pixel offset scaling properties of a Billboard based on the billboard's distance from the camera.
imageSubRegion?
optionalimageSubRegion:BoundingRectangle
A BoundingRectangle Specifying the sub-region of the image to use for the billboard, rather than the entire image.
distanceDisplayCondition?
optionaldistanceDisplayCondition:DistanceDisplayCondition
A DistanceDisplayCondition Specifying the distance from the camera at which this billboard will be displayed.
disableDepthTestDistance?
optionaldisableDepthTestDistance:number
The distance from the camera, beyond which, depth testing is disabled—to, for example, prevent clipping against terrain.
splitDirection?
optionalsplitDirection:SplitDirection
A SplitDirection Specifying the split property of the billboard.
