Class

cesium

BillboardGraphics

Related Doc: package cesium

Permalink

class BillboardGraphics extends Object

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

Annotations
@RawJSType() @native() @JSName( "Cesium.BillboardGraphics" )
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BillboardGraphics
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BillboardGraphics(options: BillboardGraphicsOptions)

    Permalink
  2. new BillboardGraphics()

    Permalink
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var alignedAxis: Property

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(result: BillboardGraphics = ???): BillboardGraphics

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var color: Property

    Permalink
  9. var definitionChanged: Event

    Permalink
  10. var distanceDisplayCondition: Property

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. var eyeOffset: Property

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. var height: Property

    Permalink
  19. var horizontalOrigin: Property

    Permalink
  20. var image: Property

    Permalink
  21. var imageSubRegion: Property

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  24. def merge(source: BillboardGraphics): Dynamic

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. var pixelOffset: Property

    Permalink
  29. var pixelOffsetScaleByDistance: Property

    Permalink
  30. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  31. var rotation: Property

    Permalink
  32. var scale: Property

    Permalink
  33. var scaleByDistance: Property

    Permalink
  34. var show: Property

    Permalink
  35. var sizeInMeters: Property

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. var translucencyByDistance: Property

    Permalink
  40. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  41. var verticalOrigin: Property

    Permalink
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. var width: Property

    Permalink

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped