get_actor_material_info
Retrieve material slots and assigned materials for an actor in the Unreal Editor world. Returns each StaticMeshComponent's material name, path, and class using the actor object name.
Instructions
List the material slots of an actor PLACED IN THE EDITOR WORLD, one row per slot per StaticMeshComponent, with the material actually assigned (name, path, class) or "None". Scope limits worth knowing: it only walks UStaticMeshComponents (a skeletal mesh's slots are invisible here) and only the EDITOR world (no PIE selector), and the actor is matched by its object NAME, not its outliner label. The Blueprint-template twin is get_blueprint_material_info.
Returns: { actor_name: string, material_slots: [{ slot, component, material_name, material_path, material_class }], total_slots: int } -- total_slots 0 means no StaticMeshComponent had slots, NOT that the actor has no materials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | Object name of the actor in the EDITOR world (GetName(), not the display label shown in the outliner) |