Class Coloring

Hierarchy

  • Coloring

Implements

Constructors

Properties

color: string
components: THREE.Component[]
uuid: string
regex: RegExp = ...

The color is given in ARGB format. Colors are represented as 6 or 8 hexadecimal digits. If 8 digits are present, the first two represent the alpha (transparency) channel. For example, 40E0D0 would be the color Turquoise.

More information about the color format can be found on Wikipedia.

Methods

  • Parameters

    • json: {
          color: string;
          components: ({ uuid: string; ifcGuid?: string | undefined; originatingSystem?: string | undefined; authoringToolId?: string | undefined; })[];
          uuid: string;
      }
      • color: string

        The color is given in ARGB format. Colors are represented as 6 or 8 hexadecimal digits. If 8 digits are present, the first two represent the alpha (transparency) channel. For example, 40E0D0 would be the color Turquoise.

        More information about the color format can be found on Wikipedia.

      • components: ({ uuid: string; ifcGuid?: string | undefined; originatingSystem?: string | undefined; authoringToolId?: string | undefined; })[]

        The Coloring element allows specifying the color of components. For each color a list of components to be displayed with the that color should be provided.

      • uuid: string

        The unique identifier of the entity.

        This is not in the BCF spec, but is used internally. However, when a BCF component requires a GUID, the uuid property is used.

    Returns void

  • Returns {
        color: string;
        components: ({ uuid: string; ifcGuid?: string | undefined; originatingSystem?: string | undefined; authoringToolId?: string | undefined; })[];
        uuid: string;
    }

    • color: string

      The color is given in ARGB format. Colors are represented as 6 or 8 hexadecimal digits. If 8 digits are present, the first two represent the alpha (transparency) channel. For example, 40E0D0 would be the color Turquoise.

      More information about the color format can be found on Wikipedia.

    • components: ({ uuid: string; ifcGuid?: string | undefined; originatingSystem?: string | undefined; authoringToolId?: string | undefined; })[]

      The Coloring element allows specifying the color of components. For each color a list of components to be displayed with the that color should be provided.

    • uuid: string

      The unique identifier of the entity.

      This is not in the BCF spec, but is used internally. However, when a BCF component requires a GUID, the uuid property is used.

Generated using TypeDoc