LabelGraphics
Describes a two dimensional label located at the position of the containing Entity.
See also
Properties
Gets or sets the Property specifying the background Color.
Gets or sets the Cartesian2 Property specifying the label's horizontal and vertical background padding in pixels.
Gets the event that is raised whenever a property or sub-property is changed or modified.
Gets or sets the distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied.
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this label will be displayed.
Gets or sets the Cartesian3 Property specifying the label's offset in eye coordinates. Eye coordinates is a left-handed coordinate system, where x
points towards the viewer's right, y
points up, and z
points into the screen.
Gets or sets the Property specifying the HeightReference.
Gets or sets the Property specifying the HorizontalOrigin.
Gets or sets the Property specifying the outline Color.
Gets or sets the numeric Property specifying the outline width.
Gets or sets the Cartesian2 Property specifying the label's pixel offset in screen space from the origin of this label. This is commonly used to align multiple labels and labels at the same position, e.g., an image and text. The screen space origin is the top, left corner of the canvas; x
increases from left to right, and y
increases from top to bottom.
Gets or sets NearFarScalar Property specifying the pixel offset of the label based on the distance from the camera. A label's pixel offset will interpolate between the NearFarScalar.nearValue and NearFarScalar.farValue while the camera distance falls within the lower and upper bounds of the specified NearFarScalar.near and NearFarScalar.far. Outside of these ranges the label's pixel offset remains clamped to the nearest bound.
Gets or sets near and far scaling properties of a Label based on the label's distance from the camera. A label's scale will interpolate between the NearFarScalar.nearValue and NearFarScalar.farValue while the camera distance falls within the lower and upper bounds of the specified NearFarScalar.near and NearFarScalar.far. Outside of these ranges the label's scale remains clamped to the nearest bound. If undefined, scaleByDistance will be disabled.
Gets or sets the boolean Property specifying the visibility of the background behind the label.
Gets or sets the Property specifying the LabelStyle.
Gets or sets NearFarScalar Property specifying the translucency of the label based on the distance from the camera. A label's translucency will interpolate between the NearFarScalar.nearValue and NearFarScalar.farValue while the camera distance falls within the lower and upper bounds of the specified NearFarScalar.near and NearFarScalar.far. Outside of these ranges the label's translucency remains clamped to the nearest bound.
Gets or sets the Property specifying the VerticalOrigin.