Viewer
    Preparing search index...

    Class MaterialSpecularGlossinessData

    Hierarchy

    • AbstractMaterialData
      • MaterialSpecularGlossinessData

    Implements

    Index

    Constructors

    • Creates a material data object.

      Parameters

      • Optionalproperties: Partial<IMaterialSpecularGlossinessDataPropertiesGeneric<IMapData>>
      • Optionalid: string

        the id

      • Optionalversion: string

      Returns MaterialSpecularGlossinessData

    Accessors

    • get convertedObject(): { [key: string]: unknown }

      The converted object of the tree node.

      Returns { [key: string]: unknown }

    • set convertedObject(value: { [key: string]: unknown }): void

      The converted object of the tree node.

      Parameters

      • value: { [key: string]: unknown }

      Returns void

    • get parentsUpdateVersions(): { [key: string]: () => void }

      The updateVersion functions of all parents of the tree node data.

      Returns { [key: string]: () => void }

    • get updateCallback(): ((newVersion: string, oldVersion: string) => void) | null

      The update callback for the tree node data. This callback is called when the node is updated, e.g. when the version changes.

      Returns ((newVersion: string, oldVersion: string) => void) | null

    • set updateCallback(
          value: ((newVersion: string, oldVersion: string) => void) | null,
      ): void

      The update callback for the tree node data. This callback is called when the node is updated, e.g. when the version changes.

      Parameters

      • value: ((newVersion: string, oldVersion: string) => void) | null

      Returns void

    • get updateCallbackConvertedObject(): | (
          (newObj: unknown, oldObj: unknown, viewport: string) => void
      )
      | null

      The update callback for the converted object of the tree node.

      Returns ((newObj: unknown, oldObj: unknown, viewport: string) => void) | null

    • set updateCallbackConvertedObject(
          value:
              | ((newObj: unknown, oldObj: unknown, viewport: string) => void)
              | null,
      ): void

      The update callback for the converted object of the tree node.

      Parameters

      • value: ((newObj: unknown, oldObj: unknown, viewport: string) => void) | null

      Returns void

    • get version(): string

      The version of the tree node data. If the version changes, the node data will be marked for an update. A version change can be triggered via updateVersion.

      Returns string

    Methods