ProtoTwin API
    Preparing search index...

    Class MaterialLibraryAbstract

    Base class for material libraries.

    Hierarchy (View Summary)

    Index

    Accessors

    Methods

    Accessors

    • get materials(): readonly Material[]

      The materials defined in the library.

      Returns readonly Material[]

    • get name(): string

      The library name.

      Returns string

    • get path(): string

      The unique library path.

      Returns string

    Methods

    • Finds a material with the specified name.

      Parameters

      • name: string

        The material name.

      Returns null | Material

      The material, or null if not found.