Describes a two dimensional icon located at the position of the containing Entity.
Example billboards
alias BillboardGraphics
- The options object takes the following properties
- {Property} [options.image] A Property specifying the Image, URI, or Canvas to use for the billboard.
- {Property} [options.show=true] A boolean Property specifying the visibility of the billboard.
- {Property} [options.scale=1.0] A numeric Property specifying the scale to apply to the image size.
- {Property} [options.horizontalOrigin=HorizontalOrigin.CENTER] A Property specifying the HorizontalOrigin.
- {Property} [options.verticalOrigin=VerticalOrigin.CENTER] A Property specifying the VerticalOrigin.
- {Property} [options.eyeOffset=Cartesian3.ZERO] A Cartesian3 Property specifying the eye offset.
- {Property} [options.pixelOffset=Cartesian2.ZERO] A Cartesian2 Property specifying the pixel offset.
- {Property} [options.rotation=0] A numeric Property specifying the rotation about the alignedAxis.
- {Property} [options.alignedAxis=Cartesian3.ZERO] A Cartesian3 Property specifying the axis of rotation.
- {Property} [options.width] A numeric Property specifying the width of the billboard in pixels, overriding the native size.
- {Property} [options.height] A numeric Property specifying the height of the billboard in pixels, overriding the native size.
- {Property} [options.color=Color.WHITE] A Property specifying the tint Color of the image.
- {Property} [options.scaleByDistance] A NearFarScalar Property used to scale the point based on distance from the camera.
- {Property} [options.translucencyByDistance] A NearFarScalar Property used to set translucency based on distance from the camera.
- {Property} [options.pixelOffsetScaleByDistance] A NearFarScalar Property used to set pixelOffset based on distance from the camera.
- {Property} [options.imageSubRegion] A Property specifying a BoundingRectangle that defines a sub-region of the image to use for the billboard, rather than the entire image.
- {Property} [options.sizeInMeters] A boolean Property specifying whether this billboard's size should be measured in meters.
Describes a two dimensional icon located at the position of the containing Entity.
Example billboards
alias BillboardGraphics
- The options object takes the following properties - {Property} [options.image] A Property specifying the Image, URI, or Canvas to use for the billboard. - {Property} [options.show=true] A boolean Property specifying the visibility of the billboard. - {Property} [options.scale=1.0] A numeric Property specifying the scale to apply to the image size. - {Property} [options.horizontalOrigin=HorizontalOrigin.CENTER] A Property specifying the HorizontalOrigin. - {Property} [options.verticalOrigin=VerticalOrigin.CENTER] A Property specifying the VerticalOrigin. - {Property} [options.eyeOffset=Cartesian3.ZERO] A Cartesian3 Property specifying the eye offset. - {Property} [options.pixelOffset=Cartesian2.ZERO] A Cartesian2 Property specifying the pixel offset. - {Property} [options.rotation=0] A numeric Property specifying the rotation about the alignedAxis. - {Property} [options.alignedAxis=Cartesian3.ZERO] A Cartesian3 Property specifying the axis of rotation. - {Property} [options.width] A numeric Property specifying the width of the billboard in pixels, overriding the native size. - {Property} [options.height] A numeric Property specifying the height of the billboard in pixels, overriding the native size. - {Property} [options.color=Color.WHITE] A Property specifying the tint Color of the image. - {Property} [options.scaleByDistance] A NearFarScalar Property used to scale the point based on distance from the camera. - {Property} [options.translucencyByDistance] A NearFarScalar Property used to set translucency based on distance from the camera. - {Property} [options.pixelOffsetScaleByDistance] A NearFarScalar Property used to set pixelOffset based on distance from the camera. - {Property} [options.imageSubRegion] A Property specifying a BoundingRectangle that defines a sub-region of the image to use for the billboard, rather than the entire image. - {Property} [options.sizeInMeters] A boolean Property specifying whether this billboard's size should be measured in meters.
demo Sandcastle Billboard Demo