Skip to content

KBE3D / KBCore / Cesium / BillboardGraphics / ConstructorOptions

接口: ConstructorOptions

Initialization options for the BillboardGraphics constructor

属性

show?

optional show: boolean | Property

A boolean Property specifying the visibility of the billboard.


image?

optional image: string | Property | HTMLCanvasElement | HTMLImageElement

A Property specifying the Image, URI, or Canvas to use for the billboard.


scale?

optional scale: number | Property

A numeric Property specifying the scale to apply to the image size.


pixelOffset?

optional pixelOffset: Property | Cartesian2

A Cartesian2 Property specifying the pixel offset.


eyeOffset?

optional eyeOffset: Property | Cartesian3

A Cartesian3 Property specifying the eye offset.


horizontalOrigin?

optional horizontalOrigin: Property | HorizontalOrigin

A Property specifying the HorizontalOrigin.


verticalOrigin?

optional verticalOrigin: Property | VerticalOrigin

A Property specifying the VerticalOrigin.


heightReference?

optional heightReference: Property | HeightReference

A Property specifying what the height is relative to.


color?

optional color: Color | Property

A Property specifying the tint Color of the image.


rotation?

optional rotation: number | Property

A numeric Property specifying the rotation about the alignedAxis.


alignedAxis?

optional alignedAxis: Property | Cartesian3

A Cartesian3 Property specifying the unit vector axis of rotation.


sizeInMeters?

optional sizeInMeters: boolean | Property

A boolean Property specifying whether this billboard's size should be measured in meters.


width?

optional width: number | Property

A numeric Property specifying the width of the billboard in pixels, overriding the native size.


height?

optional height: number | Property

A numeric Property specifying the height of the billboard in pixels, overriding the native size.


scaleByDistance?

optional scaleByDistance: Property | NearFarScalar

A NearFarScalar Property used to scale the point based on distance from the camera.


translucencyByDistance?

optional translucencyByDistance: Property | NearFarScalar

A NearFarScalar Property used to set translucency based on distance from the camera.


pixelOffsetScaleByDistance?

optional pixelOffsetScaleByDistance: Property | NearFarScalar

A NearFarScalar Property used to set pixelOffset based on distance from the camera.


imageSubRegion?

optional imageSubRegion: Property | BoundingRectangle

A Property specifying a BoundingRectangle that defines a sub-region of the image to use for the billboard, rather than the entire image, measured in pixels from the bottom-left.


distanceDisplayCondition?

optional distanceDisplayCondition: Property | DistanceDisplayCondition

A Property specifying at what distance from the camera that this billboard will be displayed.


disableDepthTestDistance?

optional disableDepthTestDistance: number | Property

A Property specifying the distance from the camera at which to disable the depth test to.


splitDirection?

optional splitDirection: Property | SplitDirection

A Property specifying the SplitDirection of the billboard.

KBE3D @3.0.0 Copyright © 2024-present KBE3D