Function setupScalingPrimitiveCollection

  • Creates a self scaling primitive collection. It will scale a primitive of model in the collection in such a fashion, that the cartesian unit of 1 equals 1 pixel.

    Parameters

    • map: CesiumMap
    • primitiveCollection: PrimitiveCollection
    • dirtyRef: {
          value: boolean;
      }
      • value: boolean

    Returns (() => void)

      • (): void
      • Returns void