Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PathBlockingElement

This path in world coordinates is projected to screen space and blocks all other labels.

It could be used for example:

  • Border rejects labels.
  • Route blocks street labels from being rendered underneath.

Could potentially be expanded in future to have a priority, however for now, this isn't required.

Hierarchy

  • PathBlockingElement

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly points

points: Vector3Like[]

Points in world coordinates.

Readonly screenSpaceLines

screenSpaceLines: Line3[]

Note, screenSpaceLines is only used as a performance improvement and contains no useful information. They are used to contain the screen space coordinates of the points. By allocating the space here, we avoid per frame allocations, see [[TextElementsRenderer.prepopulateScreenWithBlockingElements]].

Generated using TypeDoc