Main Content

materials

R2026b

Get materials of scene or actor

Since R2026b

    Description

    Add-On Required: This feature requires the 3D Scenarios add-on.

    mtls = materials(obj) returns the materials reported by the specified scene or actor.

    Input Arguments

    collapse all

    Scene or actor, specified as a Scene object or an Actor object.

    Output Arguments

    collapse all

    Materials, returned as a table with these variables:

    • Material — Name of the material reported by the scene or actor. The function removes the names of duplicate materials.

    • MatchedCatalogMaterial — Name of the matched material, returned as one of these values:

      • "" — No matched material.

      • A material name from this table.

        Common Building MaterialsMetalsTerrestrial MaterialsTheoretical Materials
        • "acrylic" — Acrylic

        • "brick" — Brick

        • "ceiling-board" — Ceiling board

        • "chipboard" — Chipboard

        • "concrete" — Concrete

        • "floorboard" — Floorboard

        • "foam" — Foam

        • "FR4" — FR-4 (fiberglass)

        • "glass" — Glass

        • "marble" — Marble

        • "metal" — Metal

        • "plasterboard" — Plasterboard

        • "plywood" — Plywood

        • "polystyrene" — Polystyrene

        • "Teflon" — Teflon® (PTFE)

        • "wood" — Wood

        • "aluminum" — Aluminum

        • "brass" — Brass

        • "copper" — Copper

        • "gold" — Gold

        • "Invar" — Invar

        • "iron" — Iron

        • "lead" — Lead

        • "silver" — Silver

        • "steel" — Steel

        • "tungsten" — Tungsten

        • "zinc" — Zinc

        • "air" — Air

        • "ice" — Ice

        • "loam" — Loam

        • "seawater" — Seawater

        • "snow" — Snow

        • "tree" — Tree

        • "vegetation" — Vegetation

        • "water" — Water

        • "PEC" — Perfect electrical conductor

        • "vacuum" — Vacuum (free space)

    Version History

    Introduced in R2026b

    See Also

    Objects